Closed (fixed)
Project:
SWFObject API
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Apr 2007 at 13:21 UTC
Updated:
7 Jun 2007 at 18:43 UTC
The new 1.5 version introduced some problems for me. It looks like an underscore was replaced by a dash by mistake and the new line also doesn't care if the div_id parameter is set.
I changed the following line:
$html .= ' $(document).ready(function () { so.write("flashcontent-'. $name . '");}); </script>';
to
$html .= ' $(document).ready(function () { so.write("flashcontent_'. $name . $params['div_id'] . '");}); </script>';
Comments
Comment #1
arthurf commentedversion DRUPAL-5--1-2 should take care of this issue, though it doesn't support the div id here