ie6-7-8 bug (flash bug)

2 replies [Last post]
Joined: 11/11/2011
Points: 7

Hello there,

There seems to be a bug while using the 'fallback' flash version, on ie6,ie7,ie8.

The javascript -- actionscript bridge (ExternalInterface) does not work, and by digging a bit into the source we were able to find what is wrong. As a result the controls don't work - and have no effect in the flash (for example the video cannot paused, set to fullscreen etc)

In IE adding an object dynamically does not activate the flash js functions. The last 'moment' when one can add an object in IE is the window load handler.

The player is currently added when the user clicks on it to play the video - therefore it fails. By adding the video on window.onload, it works properly though.

Does anyone else experience this? will there be a fix or patch in the near future?

Thanks a lot,

Joined: 02/22/2009
Points: 76

I believe this is fixed in the trunk. ( or should be ) try the staging url: ( assuming your talking about the html5 lib IE support ? )

<script src="http://www.kaltura.org/apis/stagingHtml5lib/mwEmbedLoader.php"></script>

I hope to push out an update soon.

Joined: 11/11/2011
Points: 7

Thanks for the fast reply,

It works with this version correctly. It does throw a couple of errors on IE still through. I fixed the first simply by adding
if( !this.kGetKalturaPlayerList ) return false;

after the $(mw).bind('LoadeRewritePlayerTags', function (event, rewriteDoneCallback) line..

Now it throws an error in the SWFObject code, "Object doesn't support this action", I only managed to remove the error by "breaking" the actionscript-javascript bridge.

So... any ideas on what could be happening? Try Catch is not enough to capture the error because it occurs here

function __flash__addCallback(instance, name) {
instance[name] = function () {
return eval(instance.CallFunction("" + __flash__argumentsToXML(arguments,0) + ""));
}
}

Any ideas on how to overcome this?