http-streaming icon indicating copy to clipboard operation
http-streaming copied to clipboard

player.textTracks() empty in iOS

Open Hayko-1 opened this issue 8 years ago • 5 comments

player.textTracks() empty in iOS this worked in videojs v6 and videojs-contrib-hls, not working now

Hayko-1 avatar Aug 29 '18 13:08 Hayko-1

👋 Thanks for opening your first issue here! 👋

If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. To help make it easier for us to investigate your issue, please follow the contributing guidelines.

welcome[bot] avatar Aug 29 '18 13:08 welcome[bot]

On iOS this library is not in use so we do not control how the text tracks are populated. Do you have example pages where this is working and is not working for comparison?

forbesjo avatar Aug 29 '18 20:08 forbesjo

@forbesjo https://jsbin.com/pacotiquwo/1/edit?html,console,output can get segment metadata on win & mac browsers, android, but not ios. it used to work in videojs v6 with videojs-contrib-hls

Hayko-1 avatar Aug 30 '18 09:08 Hayko-1

@forbesjo maybe you can help me finding other way how to get the current segment name (activeCue.value.uri) that is playing?

Hayko-1 avatar Aug 30 '18 11:08 Hayko-1

We are unable to get the segment information in iOS and populate that track because the platform doesn't support MSE and instead we defer to the browser's native HLS support.

forbesjo avatar Aug 30 '18 14:08 forbesjo