How To Get And Use YouTube Old Embed (Object) Code

Hi! Everyone, hope you all are fine.
Today in this post I will tell you how you can get old YouTube video player code. Last year YouTube introduced HTML5 (iframe) version of YouTube player embed code and now made it as a default YouTube player code. So in case if you don’t want to use HTML5 (iframe) version or it is not supported for you then let me tell you how you can get old embed code.

  1. Just go to the YouTube video page of which you want to embed
  2. Click on Embed button below YouTube player
  3. Select the Use old embed code checkbox
  4. Now copy the code from the Embed field
  5. Use YouTube Old Embed Code

  6. Paste the embed code wherever you want to use

Or if you don’t find there you can use the below code, change VIDEO_ID with your YouTube video ID and use it wherever you want

<object width="480" height="390">
<param name="movie" value="https://www.youtube.com/v/VIDEO_ID"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed src="https://www.youtube.com/v/VIDEO_ID" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="390"></embed>
</object>

If you have any question or problem let me know.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.