If you are using
htmlVideoLoader() to play your YouTube video url, then I regret to say that the necessary plugin to support YouTube videos has not been included at this time in the PowerPac video component.
This is a planned addition for the future—probably the next release, though I'm not absolutely sure about this.Here is a solution which will load the YouTube video, but will not allow monitoring of the playback ( a feature which the official PowerPac release for this will provide. ).
- Obtain the embed code for the YouTube video you want to include. For the video you submitted, it looks like this:
<iframe width="100%" height="100%" src="http://www.youtube.com/embed/glZq7Klgs1Q?feature=player_detailpage" frameborder="0" allowfullscreen></iframe>
Make sure to change the width and height to "100%". You are really interested in the src property, while the rest of the HTML should always remain the same.
The field would look like this:

- Image 1.png (4.69 KiB) Viewed 1513 times
- Put this text inside a field object that should be used to display the video. Give the field a name like "YouTubeVideo". Hide the field until the video is must actually be shown.
- Then when you want to display the video, send a trigger event to the "YouTubeVideo" object. The trigger actions on the field "YouTubeVideo" would look like this:

- Image 2.png (22.9 KiB) Viewed 1513 times
The main action that compiles and runs you HTML code is the PowerPac function setHTMLContent().
I just tried this and it works perfect and this solution should work in all browsers. I tried it in IE and in Firefox.
The above solution should work for you until the official YouTube plugin is included in the PowerPac
htmlVideoLoader().