What is and is not a YouTube Embed Code

This is not a YouTube embed code: http://www.youtube.com/watch?v=K-wJNpWgss8

This is also not a YouTube embed code: http://youtu.be/K-wJNpWgss8

This is a YouTube embed code:

<iframe width="480" height="360" src="//www.youtube.com/embed/K-wJNpWgss8?rel=0" frameborder="0" allowfullscreen></iframe>

This is also a YouTube embed code:

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

The term embed for YouTube and other videos on a webpage is a misnomer that has become entrenched in the net.  A true embed is where the code is actually inserted into the page.  If you have worked with Microsoft Office documents, you may know about embedding images into the word document so that you can share the document with others and not have broken images.  Of course it increases the size of the word document tremendously.

It is easy to misunderstand what one wishes to do unless they are very specific in their request.  If you mention YouTube embed code, then it is the two embed examples mentioned above; not the links.

Geeks, making the world a better place
Quote · 7 Mar 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.