YouTube embed
-
I cannot embed a YouTube video into a post.
Here is the code:
<object width="425" height="344"><param name="movie" value="https://www.youtube.com/v/OM3Z_Kskl_U&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="https://www.youtube.com/v/OM3Z_Kskl_U&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>
When I save the post, the above code turns into:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="https://www.youtube.com/v/OM3Z_Kskl_U&hl=en&fs=1" /><embed type="application/x-shockwave-flash" width="425" height="344" src="https://www.youtube.com/v/OM3Z_Kskl_U&hl=en&fs=1" allowscriptaccess="always" allowfullscreen="true"></embed></object>
I just see a big black box when I publish the page.
What is going on here? How can I fix this? I am using WordPress 2.6.5.
Thank you.
- The topic ‘YouTube embed’ is closed to new replies.