1 personman Dec 19, 2005 17:19
3 yabba Dec 20, 2005 01:33
4 personman Dec 20, 2005 02:06
I thought about using a renderer to get around this. Mayb I could store the code in the post as [youtube]YouTubeIDHere[/youtube], then use a renderer to replace that with the object tag. Is that what you mean?
5 village_idiot Dec 20, 2005 05:26
mmm.. the code I use for flash on my blog doesnt break with ie, and it's valid ...
6 personman Dec 20, 2005 05:33
On your wordpress blog or your b2evo blog? If you've got some code for inserting flash that gets past the stock html checker in b2evolution, I'd like to see what it looks like.
7 yabba Dec 20, 2005 09:35
personman wrote:
I thought about using a renderer to get around this. Mayb I could store the code in the post as [youtube]YouTubeIDHere[/youtube], then use a renderer to replace that with the object tag. Is that what you mean?
Spot on. No need to mess with _formatting.php ;)
¥
8 personman Dec 20, 2005 15:09
Brilliant as usual, YaBBa. Making a renderer works great. And it's much easier than I thought it would be.
That is valid xhtml trans code.
Oh but IE doesnt like valid xhtml code so it will fall over:
Here is an attachment of what i had to do to make flash valid and work in both firefox and ie:
But i can see y the object tag would be banned.
It is a huge security threat, even larger than <script> tags.
Most probably not with a plugin, mayb include a install.php file that will find the file that needs modifying read it, apply changes, and saves it.
That's the aproach i have used for various administration hacks that i have created.