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

Video Analytics not working


Hello,

I have uploaded some video to my local server & now i am playing that video with Jw player.

Following is the code :

jwplayer("player").setup({
sources: [ {
file: "${videoBasUrl}${videoAppName}/${videoUrlPath}?vId="+encodeURIComponent('${encryptedVideoId}')+"&sId=${sessionId}&cId=${cId}&coId=${videoId}&ctx=" + encodeURIComponent('${contextId}') + "&uId=${uId}&pre=${pre}&nav="+encodeURIComponent('${nav}')+"&data=data&vExt=" + encodeURIComponent('${encryptedVideoExt}')
},
{
file: "${mediafileprefix}?timestamp=<%=new java.util.Date().getTime()%>&attkey="+encodeURIComponent('${encryptedVideoId}')+"&attTypekey=" + encodeURIComponent('${encryptedVideoExt}')
}] ,
primary: "flash",
mediaid : '123456798', // local mediaid
events: {
onPlay: function(evt){
console.log(this);
var playlistitem = this.getPlaylistItem();
console.log(playlistitem.mediaid)
}
},
});

The media id which i have given is hardcoded.

Now i go to dashboard to look at analytics , but i am not able to see analytics with the specific media id in my dashboard

Can you please help me in this..?

Thanks

1 Community Answers

Randy

JW Player Support Agent  
0 rated :

Hello,

Can you confirm that the mediaID you are using is 8 characters long and you see a successful id:12345678 ping in the ping.gif analytics token?

Randy

This question has received the maximum number of answers.