Welcome Guest Search | Active Topics | Sign In | Register

Embed tags removed when Editor switches modes Options
Arnold Bailey
Posted: Monday, September 29, 2008 5:55:50 AM
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.
Arnold Bailey
Posted: Monday, September 29, 2008 6:06:20 AM
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.
Arnold Bailey
Posted: Monday, September 29, 2008 2:11:10 PM
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.
eo_support
Posted: Monday, September 29, 2008 2:35:42 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,093
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
eo_support
Posted: Wednesday, October 1, 2008 10:39:49 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,093
This has been fixed in build 2008.0.38.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.