|
Rank: Advanced Member Groups: Member
Joined: 8/4/2007 Posts: 42
|
I've been testing the editor heavily. Today I tried inputing the following html
Code: HTML/ASPX
<p align="center">Interview with David Drake Part 1<br/>
<object width="425" height="350">
<param name="movie" value="http://www.youtube.com/v/1q-Xd_J51-8"> </param>
<embed src="http://www.youtube.com/v/1q-Xd_J51-8" type="application/x-shockwave-flash" width="425" height="350"></embed>
</object>
</p>
<p align="center">Previous Parts may be found at <a href="http://www.webscription.net/s-32-david-drake.aspx">http://www.webscription.net/s-32-david-drake.aspx</a></p>
I pasted this into the HTML mode window of the editor. I then switched to the Design view and switched back to the HTML view. The whole <embed> tag had disappeared.
|
|
Rank: Advanced Member Groups: Member
Joined: 8/4/2007 Posts: 42
|
More and further, if I cut and paste while in the design mode from a page displaying the HTML above, the <embed tag will be pasted but the <param> tag will disappear. Truely weird.
|
|
Rank: Advanced Member Groups: Member
Joined: 8/4/2007 Posts: 42
|
I think the problem is that whatever you are using as the XHTML validator is removing the embed tag because it is not valid XHTML. This is the way YouTube forms it's object tags for embedding videos. I find they can be rewritten in proper XHTML format as:
Code: HTML/ASPX
object width="425" height="350" type="application/x-shockwave-flash">
<param name="movie" value="http://www.youtube.com/v/1q-Xd_J51-8"> </param>
</object>
Which gives a proper video display. I quess if your going to validate to XHTML I'll have to rewrite tags. Arnold Bailey wrote:More and further, if I cut and paste while in the design mode from a page displaying the HTML above, the <embed tag will be pasted but the <param> tag will disappear. Truely weird.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Thank you very much for the additional information. We do try to validate the text against XHTML. However there is a fine line between keeping the contents and keeping it XHTML compliant. We will look into it and see what we can find. Hopefully we can have an update that can handle it well.
Thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
This has been fixed in build 2008.0.38.
|
|