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.
- Just go to the YouTube video page of which you want to embed
- Click on Embed button below YouTube player
- Select the Use old embed code checkbox
- Now copy the code from the Embed field
- 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="http://www.youtube.com/v/VIDEO_ID"></param> <param name="allowFullScreen" value="true"></param> <param name="allowscriptaccess" value="always"></param> <embed src="http://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.