Monday, January 19, 2009

How To Create Autoplay HD Youtube Videos

Autoplay Youtube Video
Have you ever notice videos that are runs without your knowing right instant when you open web page? Creating auto play video and embed them into any web page is can implement easily, only you need to do is upload your video to YouTube and embed them using the code I given here, instead of the code given by the YouTube. When anybody opens the web page videos are play automatically, and in here I have set the videos to high quality.

  • Go to youtube.com and upload your video
  • Get the video URL (Example: http://www.youtube.com/watch?v=LLNvCt4vzEI)
  • Copy the video ID (The last part of the video URL) In my example Video ID is LLNvCt4vzEI
  • Replace the VIDEOID in the below code with the ID you got.
<center><object width="640" height="505"><param name="movie" value="http://www.youtube.com/v/VIDEOID&hl=en&fs=1&fmt=18&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/VIDEOID&fmt=18&autoplay=1&ap=%2526fmt%3D18&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="505"></embed></object></center>

0 comments: