I enter the following into my TinyMCE editor, using HTML

<swf file="filename.flv"></swf>

in a node or block, I get multiple entries of the swf item.
So, the code submitted to the MySQL database is:

<swf file="filename.flv"></swf><swf></swf>

Verified this at the database - my current workaround is to use phpMyAdmin to modify the node_revisions table.
I'd be interested to determine if this is a TinyMCE issue, a filter issue, or what the heck this is.

Comments

videohead’s picture

Continuing to have the same issue with the latest code. March 2009.

Stuart Greenfield’s picture

That sounds strange - I'll have to install TinyMCE locally and try it.

SWF Tools is supposed to accept filters in the form [swf file="someFile.swf"], but I realised a few days ago the code to do that is broken. I'm going to fix it shortly, so when that's done I'll let you know, and maybe see if that works better!

Stuart Greenfield’s picture

There were some issues with the input filters and the WYSIWYG editors. The DRUPAL-6--2 contains new code that fixes those issues, and they might address the above.

See #401140: Media path being set to sites/default/files/sites/default/files.

Also note that the preferred syntax for the input filter is now to use square brackets, not angles.

So [swf file="myFile.swf"].

Stuart Greenfield’s picture

Status: Active » Closed (fixed)

No further follow in 12 months.

Changing to closed as these seems to be a dormant thread.