Greetings to everyone,
I’m trying to create an HTML5 ad banner with an embedded youtube player using edge animate.
The problem is that I want the player to be initially muted and when the user interacts with the banner (button click) I want the player to be unmuted.
Following tutorials I’m attaching below the code I’m currently using for the player.
var youtube = $("<iframe/>"); sym.$("video").append(youtube); youtube.attr('type','text/html'); youtube.attr('width','356'); youtube.attr('height','200'); youtube.attr('src','https://www.youtube.com/embed/-paLJA33__A?version=3&enablejsapi=1&autoplay=1&controls=0&loop=1&showinfo=0&muted=muted'); youtube.attr('frameborder','0'); youtube.attr('autoplay','true'); youtube.attr('mute','muted');