Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Different Player version in the same page ...


Hi all,

I'm having problem with my new player V7 because in the page there is another JW player, version 6, that is loaded before ( from ads campaigns ) ; the V7 raise me an error due incorrect license key.

How can I use ( if it is possible ... ) two different player versions on same page?

Thanks in advance

6 Community Answers

George

JW Player Support Agent  
0 rated :

Hi,

In order to load two different players on the same page you will need to use iframes.

v...

User  
0 rated :

and what if I cannot use iframes ? I could do a

jwplayer = undefined;

at the end of the player inclusion, after the setup() method call ...

George

JW Player Support Agent  
0 rated :

I couldn’t guarantee it works. iFrames are the only way to truly separate the license keys and libraries

v...

User  
0 rated :

ok, understood, just another question: I see that you set the jwplayer.key before the setup() method; why don't add the set of the version property just after the key assignment, to avoid this kind of conflict?


In this way, probabaply , people could use many players in the same page, despite their version

George

JW Player Support Agent  
0 rated :

Sounds like a feature request. I’ll pass it on to engineering, they may have their reasons.

George

JW Player Support Agent  
0 rated :

All player libraries share the same namespace jwplayer therefore there is no way to reference one library or the other during setup.

This question has received the maximum number of answers.