jquery - swfObject causing "Object doesn't support" error in __flash__addCallback function -
so, have been stuck on problem time , has caused lot of frustration. have found lot of people on many forum pages have scoured share same problem no 1 has gave clear answer why error being thrown , how fix it.
i using swfobject 2.2 embed background video onto page working on , ie7/ie8 throwing error: "object doesn't support property or method" due line 48 character 3. upon opening developer tools see code causing error, found this:
function __flash__addcallback (instance, name) { instance[name] = function () { return eval(instance.callfunction("<invoke name=\""+name+"\" returntype=\"javascript\">" + __flash__argumentstoxml(arguments,0) + "</invoke>")); } }
i tried finding going wrong in code , commented out besides:
swfobject.embedswf('http://localhost/flash/player.swf', 'video_player', '100%', '100%', '9.0.0');
this element swfobject looking for:
<div id="video_player"></div>
to go step further, used entirely empty .swf file make sure error not being thrown .swf file itself.
i know if has had experience error using swfobject , if there can solve it.
i having same problem, , found blog entry:
adobe flash externalinterface issues internet explorer
to summarize maybe related play() , stop() function being reserved words. though mentioned not using externalinterface calls, have tried renaming these methods yet?
Comments
Post a Comment