Reply
Contributor
yfc204
Posts: 45
Registered: 01-28-2009
0

dynamically loading multiple players do not work in IE6

[ Edited ]

Hi,

 

It doesnt seem like we can load multiple players dynamically on the same page page in IE6. I took your example and made some modification so that we can add multiple players on 1 page. It works fine on FF, but doesnt work on IE6.

 

This is the example code that i took:

http://help.brightcove.com/developer/topics/players/dynamicLoadJS/dynamicPlayerLoad.html

 

 

 

 

Message Edited by yfc204 on 06-04-2009 04:35 PM
Brightcove Team
BC-ChrisD
Posts: 121
Registered: 12-07-2008
0

Re: dynamically loading multiple players do not work in IE6

I confirmed this behavior in IE7 as well. I tried to confirm all the obvious possibilities but nothing is jumping out. I'll keep looking at it and see if I can find anything.
Christopher DeGrace
Product Manager
Contributor
yfc204
Posts: 45
Registered: 01-28-2009
0

Re: dynamically loading multiple players do not work in IE6

Are there any logic implemented for IE based browser when writing out the player? It cant read this file because it is compressed.

 

http://admin.brightcove.com/js/BrightcoveExperiences.js

Visitor
chrisM
Posts: 7
Registered: 06-15-2009
0

Re: dynamically loading multiple players do not work in IE6

Has anyone figured out a solution to using multiple players in IE? I'm having troubles dynamically generating one player in IE7, but the code works great in Firefox 3.5 and Safari 4.

 

I was using this code as a guide: http://developer.brightcove.com/en/articles/dynamically-loading-player-using-javascript

 

IE is not throwing any errors for me, but instead seems to be wrapping my generated object in some kind of <span> (Firefox and Safari do not).

 

Thanks,

Chris

Brightcove Team
BC-Todd
Posts: 746
Registered: 12-21-2008
0

Re: dynamically loading multiple players do not work in IE6

Yes, the way the players are written to the page is different in IE, but using our JS to write players to the page shouldn't have change for you based on browser and has been tested in all of our supported browsers (tested first and foremost in IE). Do you have an example of the script you are using that is failing in IE, or a link to your test page?
--todd
Visitor
chrisM
Posts: 7
Registered: 06-15-2009
0

Re: dynamically loading multiple players do not work in IE6

Todd, as I was writing this reply, I noticed some css issues in the popup I was working with. I had a layout problem that was rendering the flash object "invisible" in IE7.

 

Thank you for your quick reply, the dynamically generated player is now working well in all browsers I've tested.

Contributor
webb
Posts: 11
Registered: 09-21-2009
0

Re: dynamically loading multiple players do not work in IE6

Does this javascript not work with the chromeless palyers?  Every time I try it with one nothing happens, if I use a non-chromeless player it will work.  Also, Is there a way to add the params to the oject itself?  We use values that we put in the oject code to pass values to the player.

 

Exmaple:

<object id="myExperience" class="BrightcoveExperience">
    <param name="pageContentCategory" value="xxxx" />
</object>

Brightcove Team
BC-BrianD
Posts: 275
Registered: 12-10-2008
0

Re: dynamically loading multiple players do not work in IE6

Hi webb, sorry that we missed your question here, and hopefully you've gotten it answered by now.  For the first part, I would guess that the following is missing from inside the Brightcove object element:

 

<param name="isUI" value="true" />

-----
Brian Deitte, Brightcove player developer
http://twitter.com/bdeitte
Contributor
webb
Posts: 11
Registered: 09-21-2009
0

Re: dynamically loading multiple players do not work in IE6

Yeah, I did find that one and it worked.  However one other thing I'm noticing is that the HTML 5 delivery option on the single clip palyers doesn't seem to work when the player is loaded via JS.  Is there a way to get that working or something I can add to make it work?

Contributor
webb
Posts: 11
Registered: 09-21-2009
0

Re: dynamically loading multiple players do not work in IE6

I noticed that the HTML 5 delivery option on the single clip palyers doesn't seem to work when the player is loaded via javascript.  Is there a way to get that working or something I can add to make it work?