Needs review
Project:
SWF Tools
Version:
6.x-2.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Apr 2009 at 20:34 UTC
Updated:
28 Apr 2009 at 21:46 UTC
Great new auto-close feature when there are multiple players on a page, been wanting that for a while! When I add a player to a page using the swf() call, and pass in any parameter, my players are being forced shut as they open. E.g., loop through all files for a node and call:
$audio .= swf($file[filepath],
array('flashvars' => array('lefticon'=>'0xFFFFFF', 'righticon'=>'0xFFFFFF', 'text'=>'0xFFFFFF', 'bg' => '0xADADAD'))
);
It renders fine, but then when I play the file, it immediately closes the player and shuts off.
Comments
Comment #1
Stuart Greenfield commentedSo it does! The problem is the way the flashvars string is interpreted [poor code on my part - sorry!] Try the new code from branch DRUPAL-6--2 and it should be ok. All you actually need is the replacement
onepixelout.jsfile.Comment #2
levelos commentedThat does the trick, thanks Stuart.