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
Comment #1
Toxid commentedI'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.
Comment #2
toma commentedI have the same issue with this using htmlpurifier advanced
Comment #3
bryancasler commentedThis could be related to my post over here #657940: Linking to external flash.
Comment #4
ezyang commentedClosing as duplicate. Flash support is still not quite there yet, but this is an upstream issue and I have my eye on it.