Here is the new Youtube embed format: <iframe title="YouTube video player" width="640" height="390" src="http://www.youtube.com/embed/EI34Vv0n-zQ" frameborder="0" allowfullscreen></iframe> The problem is the new "iframe" element. It used to be "object", and the other formatting is a bit different as well. I noticed this with LoadDVD Pro, which automatically reformats flash videos to play correctly in its hosted window. If you extract the movie ID (e.g. EI34Vv0n-zQ), you can make embed code according to the old format if you want, such as (put this in a HTML section to see it): <object id="mymovie" width="100%" height="96%"><param name="movie" value="http://www.youtube.com/v/{param}"> </param><param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always"></param> <embed name="mymovie" swliveconnect="true" src="http://www.youtube.com/v/EI34Vv0n-zQ&fs=1&autoplay=1" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="100%" height="96%"> </embed></object> This formats the video to fit the player window and has extraneous code in there that I just use without understanding why. All I know is it looks beautiful. Anybody comes up with a more compact format - I'll take it! This also works nicely ina HTML section, but I can't get the autoplay parameter to work. <iframe title="YouTube video player" width="100%" height="100%" src="http://www.youtube.com/embed/EI34Vv0n-zQ" frameborder="0" allowfullscreen></iframe> |