Project:SWFObject API
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

#1

Status:active» closed (fixed)

version DRUPAL-5--1-2 should take care of this issue, though it doesn't support the div id here

nobody click here