I'm using tinymce. I've enabled youtube embeds, using the normal htmlpurifier, not advanced. Tinymce produces this code

From what I've read, HTML Purifier should have no problem with this. In the source there's nothing where the object is supposed to be. Why does it remove the object tag alltogether?

Comments

Toxid’s picture

I'm using tinymce. I've enabled youtube embeds, using the normal htmlpurifier, not advanced. Tinymce produces this code
<object style="width: 425px; height: 350px;" data="http://www.youtube.com/v/F1XC4cPa1OQ" type="application/x-shockwave-flash" height="350" width="425"><param name="data" value="http://www.youtube.com/v/F1XC4cPa1OQ"><param name="src" value="http://www.youtube.com/v/F1XC4cPa1OQ"></object>
From what I've read, HTML Purifier should have no problem with this. In the source there's nothing where the object is supposed to be. Why does it remove the object tag alltogether?

I know the problem is with the HTML Purifier, because it works fine when I disable it.

toma’s picture

I have the same issue with this using htmlpurifier advanced

bryancasler’s picture

This could be related to my post over here #657940: Linking to external flash.

ezyang’s picture

Status: Active » Closed (duplicate)

Closing as duplicate. Flash support is still not quite there yet, but this is an upstream issue and I have my eye on it.