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

Player stopping sporadically


Hello. I'm experiencing the same issue as posted here (https://support.jwplayer.com/customer/portal/questions/16326039-player-stopping-sporadically). Unfortunately, I'm not able to add comments to that post so I have to create a new one (This question has received the maximum number of answers).

I'm receiving the following output in console:

- No media_id found
- Could not setup because trackingobject is not defined.

I've tripled checked that I'm setting mediaid value of the player setup:

this.videoJWPlayer.setup
({
image: posterImageUri,
mediaid: this.video.Id,
controls: this.showControls,
autostart: this.autoPlay,
mute: this.isMute,
repeat: this.loopVideo,
height: "100%",
width: "100%",
stretching: "fill",
playlist:
[
{
"sources": playListSourceArray
}
]
});

My index page also has HTML5 doctype (as per the suggestion in the link above).

'No media_id found' error message is happening in https://assets-jpcust.jwpsrv.com/player/6/6124956/ping.js (around line 71 as per what's in console):

No media_id found ping.js:71

Any insight on how to fix this issue?

Thanks for your help.

3 Community Answers

Alex

JW Player Support Agent  
0 rated :

Hi there,

The mediaid parameter needs to be placed on whatever level of your player setup that contains either file or sources. Please try moving the parameter there to see if your issue is resolved.

The “Could not setup because trackingobject is not defined.” error is usually caused by the player having its Google Analytics integration enabled but the tracking code from Google Analytics is not found anywhere on the page. It doesn’t look like you have the ga configuration option set up so if you are using a cloud-hosted player, please double-check the “Google Analytics” option is disabled in the “Analytics” section of the player configuration on your dashboard.

These two errors, however, have nothing to do with the performance of the player and you do not necessarily go into detail regarding how your player is stopping sporadically. Is your player having trouble with the performance? If so, I would need you to provide a URL to a reproduction page so I may troubleshoot it for you.

Thank you.

t...

User  
0 rated :

Thank you Alex. Your suggestions solved my issues with the following:

- No media_id found
- Could not setup because trackingobject is not defined.

Thanks

Tom

Alex

JW Player Support Agent  
0 rated :

Not a problem, Tom!

This question has received the maximum number of answers.