By bollaert17 on
Hi
i try to add a flash map in drupal with this code in a block
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="550" height="400" id="golden_usa_external" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="golden_us_city_map_jeparsauxusa_com/golden_usa_external.swf" />
<PARAM name="FlashVars" value="xmlfile1=golden_us_city_map_jeparsauxusa_com/usa.xml&show_map=0" />
<param name="quality" value="high" /><param name="wmode" value="transparent" />
<param name="bgcolor" value="#ffffff" />
<embed src="golden_us_city_map_jeparsauxusa_com/golden_usa_external.swf?xmlfile1=golden_us_city_map_jeparsauxusa_com/usa.xml&show_map=0" quality="high" wmode="transparent" bgcolor="#ffffff" width="550" height="400" name="golden_usa_external" align="middle" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</embed></object>
and drupal change it in this one ???
<object classid="d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="550" height="400" id="golden_usa_external" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="golden_us_city_map_jeparsauxusa_com/golden_usa_external.swf" />
<PARAM name="FlashVars" value="xmlfile1=golden_us_city_map_jeparsauxusa_com/usa.xml&show_map=0" />
<param name="quality" value="high" /><param name="wmode" value="transparent" />
<param name="bgcolor" value="#ffffff" />
<embed src="golden_us_city_map_jeparsauxusa_com/golden_usa_external.swf?xmlfile1=golden_us_city_map_jeparsauxusa_com/usa.xml&show_map=0" quality="high" wmode="transparent" bgcolor="#ffffff" width="550" height="400" name="golden_usa_external" align="middle" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</embed></object>
only the classid was change by Drupal
(ie classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" in classid="d27cdb6e-ae6d-11cf-96b8-444553540000")
and this code generated by Drupal works well in Firefox but not in IE
is this code classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000 is not WC3 compliant ?
and that's the reason Drupal change it automaticaly ?
if yes how can i change the code for being right for both browsers ?
thanks for you help
Christian
Comments
HTML Filter breaks the classid attribute of the object tag
I'm having the same issue.
I've just posted an issue about this here: #812590: HTML Filter breaks the classid attribute of the object tag
Is <object classid="d27cdb6e-ae6d-11cf-96b8-444553540000... WC3
I just registered with Drupal because I found this page through Google:
------------------------------------
Hi
i try to add a flash map in drupal with this code in a block
and drupal change it in this one ???
only the classid was change by Drupal
(ie classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" in classid="d27cdb6e-ae6d-11cf-96b8-444553540000")
and this code generated by Drupal works well in Firefox but not in IE
is this code classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000 is not WC3 compliant ?
and that's the reason Drupal change it automaticaly ?
if yes how can i change the code for being right for both browsers ?
thanks for you help
Christian
--------------------------------------------
I would like to find the whole thread because I have the same question that Christian did. I don't yet know how to do that. Please help.
Thank you for your help.
Try CKEditor SWF
This is an issue of the HTML Filter.
2 solutions :
1) Disable the HTML Filter
or a better solution:
2) Install CKEditor SWF