Skip to main content
Participant
July 9, 2018
Answered

Youtube player iframe

  • July 9, 2018
  • 2 replies
  • 514 views

In Edge Animate I was able to use the Youtube player by using the following code:

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

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

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

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

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

youtube.attr('src','https://www.youtube.com/embed/Hy8GhKTBP_o?autoplay=1&rel=0&autohide=2&iv_load_policy=3');

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

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

What would be the closest equivalent to achieve the same in Animate CC?

This topic has been closed for replies.
Correct answer ankushr40215001

Hey marek_g,

I have foud this link - Animate CC and HTML5 banners - Banner Animation - GreenSock ​which looks like closest to what you are looking for.

Hope this will help you integrating a YouTube player in an Animate CC file.

Thanks,

Ankush

2 replies

marek_gAuthor
Participant
July 11, 2018

Thanks Ankush, I'll give it a try.

ankushr40215001
ankushr40215001Correct answer
Inspiring
July 9, 2018

Hey marek_g,

I have foud this link - Animate CC and HTML5 banners - Banner Animation - GreenSock ​which looks like closest to what you are looking for.

Hope this will help you integrating a YouTube player in an Animate CC file.

Thanks,

Ankush