Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Youtube Proxy bug in IE7 (not in FF or safari)

6 replies [Last post]

Hello

I am using the ...Hello

I am using the latest version of the player (version 4 - versions from download and from trunk, but bug remains)

I have a page with a carousel with links to various Youtube clips. The links load some json (with youtube link) and triggers a createplayer script.

var so = new SWFObject('/flash/player.swf','playerID','100%','100%','9');
so.addParam('file',zeWebpage);
so.addParam('autostart','true');
so.addParam('allowscriptaccess','always');
so.addParam('controlbar','over');
so.addParam('allowfullscreen','true');
so.addParam('flashvars','&file='+zeWebpage+'&bufferlength=0&controlbar=over&autostart=true&caption=false&displayclick=fullscreen&fullscreen=true');
so.write('playerContainer');

(zeWebpage is the youtube URL)

Now in Firefox and Safari this works perfectly!

However I run into problems with IE.

The first clip plays fine but when i load another clip (and the playerContainer gets replaced by another object) on the same page I get the "Cannot connect to youtube. only one youtube connection per computer can be made" error

It is as if the payer is not resetted properly.

Any help woud be very much appreciated.

Cheerio and thx for the suberb player ~(the skinning is top!)

hendrik

yes, i have the same problem, what is "Cannot connect to youtube. only one youtube connection per computer can be made" ???

is there a way to fix this limitation thru editing .as files and recompile?

Well

I understand there is only one instance of the youtube player that can be active at any given time but it seems that in Internet Explorer the object is not resetted properly and when loading a new player in the same div, the player object does not connect to youtube.

So dynamically loading the player which connects to youtube is a no go on Internet Explorer.

I am using SWFobject 1.5

hendrik

You have to unload the player after clicking on a a new link and then reload again

how can we unload a player ??

Strange

When I use a direct link to
http://www.jeroenwijering.com/embed/player.swf

it works

When referring to the same file but hosted locally it does not