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

JWplayer7 multiple players failed

I have two players need to be control
<div id="video"></div>
<div id="cobrowse"></div>

These two will be actived at any time

Now, the question is:
While I setup the JWplayer for id="video" element, that works well.
Then I setup the JWplayer for id="cobrowse" element, this do nothing.
So, I open the developer tool on Chrome, and type jwplayer("cobrowse").getConfig(), that return some error messages.

Here it is:
Uncaught TypeError: Cannot read property 'apply' of undefined
at e.each.t.(anonymous function) [as getConfig] (
at <anonymous>:2:25
at Object.InjectedScript._evaluateOn (<anonymous>:905:140)
at Object.InjectedScript._evaluateAndWrap (<anonymous>:838:34)
at Object.InjectedScript.evaluate (<anonymous>:694:21)

And here is my config for cobrowse element:
playlist: [{
sources: [{
file: 'rtmps://' + cbUrl + mId
file: 'http://' + cbUrl + mId + '/playlist.m3u8'
file: 'rtsp://' + cbUrl + mId
width: '100%',
height: '100%',
primary: "html5",
rtmp: {
bufferlength: 0.1,
events: {
onReady: function (event) {
// console.log(event);
onPause: function (event) {
onError: function (event) {
// console.log(event);
onSetupError: function (event) {
// console.log(event);

Is that JWplayer7 not support multiple players?


2 Community Answers


0 rated :

Sorry that I found something wrong in my code, not this config.

It works well now~


0 rated :

I was just looking at your JWplayer7 multiple players failed | JW Player site and see that your website has the potential to get a lot of visitors. I just want to tell you, In case you don't already know... There is a website service which already has more than 16 million users, and the majority of the users are interested in websites like yours. By getting your site on this network you have a chance to get your site more visitors than you can imagine. It is free to sign up and you can read more about it here: - Now, let me ask you... Do you need your site to be successful to maintain your way of life? Do you need targeted traffic who are interested in the services and products you offer? Are looking for exposure, to increase sales, and to quickly develop awareness for your website? If your answer is YES, you can achieve these things only if you get your site on the network I am talking about. This traffic network advertises you to thousands, while also giving you a chance to test the service before paying anything. All the popular sites are using this service to boost their readership and ad revenue! Why aren’t you? And what is better than traffic? It’s recurring traffic! That's how running a successful site works... Here's to your success! Read more here:

This question has received the maximum number of answers.