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

No analytics


Hi,

I have several video's hosted by JWplayer and everything works fine except for the analytics.
No data is showing up on the detailpage and the video is not listed on the All Content page.
On the analytics overview page the url where the video is embedded is shown with times embedded, played and completed.

The video's are embedded with following code.

// function to get URL parameters
$.urlParam = function(name){
var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href);
return results[1] || 0;
}

// Get the video_id from the URL
var video_id = $.urlParam('video_id');

// Setup player, get video file via the GET Request
player.setup({
// For list of all parameters check:
// https://developer.jwplayer.com/jw-player/docs/developer-guide/customization/configuration-reference/#skin
file: "http://content.jwplatform.com/videos/"+video_id+".mp4",
autostart: "True"
});

// Set Volume to maximum
player.setVolume(100);


What am I doing wrong here?

2 Community Answers

a...

User  
0 rated :

forgot the first line of the script:

var player = jwplayer('player');

Donni

JW Player Support Agent  
0 rated :

Looks like you are missing the MEDIAID. Check this page for details.

This question has received the maximum number of answers.