Embed (YouTube) problem with formatting code
-
This is a wierd problem.. Before I start, let me say that I have WYSIWYG turned off, along with the XML stuff is turned off. I am working with the Code window only. And also I do not need replies where someone suggests a plug-in, this is a new problem (Bug) within version 2.1 of WordPress, whereas this problem was not seen in earlier versions of WordPress..
Ok, I am trying to embed a YouTube video and I am using
<p align="center">
to center it up in a posting. I had no problem with the following code using 2.0x version of WP. But now that I have updated to 2.1 I am seeing this problem. Basically if you post the code below, you will see what looks like a missing graphic with a bitty little “x” where the youtube video should be.<P align="center"> <object width="425"
height="350">
<param name="movie"
value="https://www.youtube.com/v/ZByndN_ffyw">
</param><param name="wmode"
value="transparent"></param>
<embed src="https://www.youtube.com/v/ZByndN_ffyw"
type="application/x-shockwave-flash"
wmode="transparent" width="425"
height="350"></embed></object> </P>
If you remove the
<p align="center">
and the `
` from the post the video will be seen on the post albiet not centered. If you also move the paragraph stuff to a seperate line as so:<P align="center">
<object width="425" height="350">
<param name="movie"
value="https://www.youtube.com/v/ZByndN_ffyw">
</param><param name="wmode"
value="transparent"></param>
<embed src="https://www.youtube.com/v/ZByndN_ffyw"
type="application/x-shockwave-flash"
wmode="transparent" width="425"
height="350"></embed></object>
</P>
The Video will be seen. But the problem with this is that the video will not center. I have also tried using the paragraph format without the
align="center"
with the same results where the video only shows up as a “Broken” graphic symbol.
- The topic ‘Embed (YouTube) problem with formatting code’ is closed to new replies.