Leandro Moreira

Results 210 comments of Leandro Moreira

An real example https://www.paypal-engineering.com/2014/09/05/introducing-an-accessible-html5-video-player/ and its github https://github.com/paypal/accessible-html5-video-player > The goals of this project were to: > - Take advantage of the latest web technology; use HTML5 for the video,...

@dovematrix unfortunately, I don't think so 😞

@kevin2o it was not ;/ but I still think it's a solid feature

@PreDeToR the way you switch audio tracks depends on the playback =/ for instance, if you are using HLS you should be using the [playback directly](https://github.com/dailymotion/hls.js/blob/master/API.md#audio-tracks-control-api). ``` javascript var hls...

@PreDeToR I just checked at cdn and I could reproduce with this code `player.core.getCurrentPlayback()._hls` the **player** being the instance name you gave, also please notice that `_hls` will be only...

@PreDeToR my bad, I wrote that code out of my head, this one worked (although this stream doesn't offer multiple audios). ``` javascript var playerElement = document.getElementById("player-wrapper"); player = new...

> Should it not at least return 1 audioTrack on the above video? It seems that the hls.js team chose don't add a single track.

@PreDeToR try to test these files at http://dailymotion.github.io/hls.js/demo/ it seems likely to be an issue at hls.js

[I saw](https://github.com/dailymotion/hls.js/blob/master/demo/index.html), maybe this is something only available at new version 6.x :(

yes, https://github.com/clappr/clappr/issues/1143 as well we need to define an API to handle multiple audio/video tracks across different playbacks (dash, hls, ...).