This is the original code given by YouTube to embed to your own website. Copy this codes and paste into the source of your site.
<object width="425" height="350"> <param name="movie" value="http://www.youtube.com/v/bTfVt5GxpFU"></param> <embed src="http://www.youtube.com/v/bTfVt5GxpFU" type="application/x-shockwave-flash" width="425" height="350"></embed> </object>
Now look at the value in the param tag and the source in the embed tag. Edit the "/v/" into "/p.swf?video_id=".
Hence it becomes the following..
<object width="425" height="350"> <param name="movie" value="http://www.youtube.com/p.swf?video_id=bTfVt5GxpFU"></param> <embed src="http://www.youtube.com/p.swf?video_id=bTfVt5GxpFU" type="application/x-shockwave-flash" width="425" height="350"></embed> </object>
Now with this code, you will be able to play YouTube videos on Opera browser as well. Moreover, it's able to play videos on all types of browsers. A disadvantage is that you cannot see the first frame of the video like in the original code. Anyway, who want's to see just the first frame? Compatibility is the key to be a good web programmer.















