Knowledge base/2.0 The Basics/2.5 Frequently Asked Questions

How to display youtube video via a link target of iFrame

Nathan Virtue
posted this on July 27, 2011 12:24 pm

Youtube changed the way its videos need to be embedded within an iFrame so if you try and link to the standard share link, the iFrame will show a blank white background.

By following the directions on this article to create links , just use this format in your link destination and choose a Link Target of iFrame popup:

 If you want your video to auto play, just add this to the end of your link:

  • ?version=3&hl=en_US&autoplay=1

 If you don't want related videos to show after your video has completed playing, just append the below to the end of your link:

  • ?rel=0

The behavior would be similar to the following page where you click on a link and the video opens up in an iFrame popup.

http://www.epageflip.net/issue/44423