![](https://secure.gravatar.com/avatar/d19977b153c8204b54961192613f1d62?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
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