Embedding YouTube Videos, Part 2

The Solution

Previously: Problems with embedded YouTube videos in Powerpoint (Part 1)

Fortunately, I work with some pretty smart people and maybe one of them has come across this before. Before I start beating my head against search engine results, I’ll ask to see if anybody has a solution. So I send off a quick email and start digging into search results.

After about ten minutes, my colleague Tyler came back with a solution that requires manual editing of the YouTube embed code. After trying that, we discovered that you have to basically edit the first <param name> tag of the embed code. All credit for me knowing the solution goes to Tyler! See the example at the bottom of the page.

I went back into PowerPoint and deleted the embedded video objects that were broken. Why not simply edit the code for the object that was already there? Because you can’t do that in PowerPoint. ARGG!

I repeated the process for embedding the video in PowerPoint and used the edited embed code to successfully add the YouTube videos to my PowerPoint.  

PowerPoint not using the default <iframe> embed code is a Microsoft issue. Using the old embed code is the work around and it has apparently been that way for a while. I remember seeing people do that when 2010 first came out and the embed code worked fine.

But why do I now have to edit the old embed code that YouTube gives me? As best as I can tell, Google removed the Use old embed code feature from YouTube at some point. Then they turned it back on again. Only, when they turned it back on, they changed it slightly. This slight change caused it to break the Microsoft embed process in PowerPoint 2010 and 2013. I don’t know if earlier versions of PowerPoint are impacted or not.

Example

Embed  (old) code from YouTube

<object width="640" height="360"><param name="movie" value="http://www.youtube.com/v/Dy6405lEUyM?version=3;hl=en_US&amp;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Dy6405lEUyM?version=3&amp;hl=en_US&amp;rel=0" type="application/x-shockwave-flash" width="640" height="360" allowscriptaccess="always" allowfullscreen="true"></embed></object>

Edited embed code

<object width="640" height="360"><param name="movie" value="http://www.youtube.com/v/Dy6405lEUyM"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Dy6405lEUyM?version=3&amp;hl=en_US&amp;rel=0" type="application/x-shockwave-flash" width="640" height="360" allowscriptaccess="always" allowfullscreen="true"></embed></object>

Note that it is only the first <param> value that was edited, not the second one. This has also worked about 80% of the time. I can’t find a reason why it works some times but not others.

Comments are closed.