views:

51

answers:

1

At this point I'm stumped. The below embed code causes "Object Required" errors every time I refresh the page in Internet Explorer 8 (probably other versions of IE as well but I don't have them readily available for testing).

It works just fine in other browsers.

The oh so simple code:

<object width='425' height='344'>
    <embed src='http://www.youtube.com/v/3kU1x9StavM?enablejsapi=1' type='application/x-shockwave-flash' width='425' height='344' allowscriptaccess='always' allowfullscreen='true'></embed>
</object>

It errors even when that is literally the only content on the page.

Does anyone have any ideas? I don't have the option of using swfobject because I'm going to be rewriting embed tags to enable jsapi (I'm writing an interactive transcript plugin that needs to essentially load itself and require no extra action on the part of the publisher to use).

A: 

There is a problem with the js api on IE... others have talked about it here http://support.soundcloud.com/soundcloud/topics/sets_breaking_in_ie8 If you remove the jsapi parameter or set the value of allowscriptaccess to sameDomain or never the errors disappear but you can't use the API anymore :(

Ionut Popa