This warning message is produced when you select 1 Pixel out in File Handling for MP3, save the settings, and then view a page with
[flash:sound1.mp3 action="swftools_mp3_display"]

I do not get the warning if I change
$saved = _onepixelout_flashvars;
to
$saved = _onepixelout_flashvars();
in function onepixelout_swftools_flashvars.

I'm using php 5.2.2.

Comments

sime’s picture

Um, that is the flashfilter syntax which is not being used in swftools. Are you upgrading from flashfilter?

It should be

Also, I check the file and it's fixed in there, so I've just realised you must be on the dev version still... try:
http://drupal.org/node/149048

ellen.davis’s picture

I was testing swftools, and was unsure where to use [[flash] or to include files.

I have now installed swftools 5.x-1.0. I can include swf, flv, and mp3 files in blog entries using the tag. I assume that is what I want on my production site.

What confused me is that when I create a blog entry, and click Input Format, it says "You may use [flash:filename.swf] to display Flash files inline". So I assumed that I needed to use the [flash] tag.

sime’s picture

Ah, this means that the [] syntax is still floating around. I will fix this.

For examples, please visit http://emspace.com.au/demo/swftools
That should get you going.

ellen.davis’s picture

Status: Active » Closed (fixed)

Thanks. THe demo site is very helpful.

Just in case someone else is following this - my #2 message is missing two references to the <swf> tag. They must have got swallowed up, as that tag is not in the Allowed HTML tags list.

sime’s picture

Status: Closed (fixed) » Active

Yes, the swf tools filter needs to run first or you need to add the tag as allowed.

I'm going to leave the issue open, because you've highlighted that there is incorrect instructions that I'll need to fix.

Stuart Greenfield’s picture

Status: Active » Fixed

Filters / documentation updated in 5.x-2.0 and 6.x-1.1 releases. Setting to fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.