GA: No media_id found when loading file from m3u8
We are using jwplayer 7 premium and trying to log Google analytics while loading video from an m3u8 manifest as the file source. Our embed is like so:
jwplayer("jw-player-58488e56af1ab").setup(
{file: "//link.theplatform.com/s/jWXMfC/0WjjAq_0VzkP?formats=m3u",
type: "hls",
stretching: "exactfit",
autostart: true,
ga: { label: "title" }
});
I am seeing a Buffering event at the very start, but after that, the console keeps showing me "No media_id found" which is coming from the _sendPing(event) function in ping.js. it looks _player.getPlaylistItem().mediaid is returning null and so no event get fired off as the function just returns.
What am I missing or are there any other options I could try to get the tracking sorted out?
thx