2 Replies Latest reply on Nov 27, 2015 1:04 PM by Swekl

    Insert embedded YouTube video in edge animate with loop & autoplay

    Swekl

      How can I complement the code to remove from youtube video the control, name of the video and the play button?

      var youtube = $("<iframe/>");

      sym.$ ("Video").append(youtube);

      youtube.attr('type','text/html');

      youtube.attr('width','500');

      youtube.attr('height','300');

      youtube.attr('src','https://www.youtube.com/embed/Kurh2Ave_tI');

      youtube.attr('frameborder','1');

      youtube.attr('allowfullscreen','0');

       

      just adding

      youtube.attr('autoplay','1');

      youtube.attr('loop','1');

      not working...