
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