sampotts/plyr

How to add change quality video Using hls.js and plyr

Open

#652 aperta il 4 set 2017

Vedi su GitHub
 (5 commenti) (0 reazioni) (1 assegnatario)JavaScript (2856 fork)batch import
FeatureHelp WantedStreaming

Metriche repository

Star
 (25.318 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

How to add change quality video Using hls.js and plyr

`

if (Hls.isSupported()) { var hls = new Hls(); hls.loadSource('https://content.jwplatform.com/manifests/vM7nH0Kl.m3u8'); hls.attachMedia(video); hls.on(Hls.Events.MANIFEST_PARSED,function() { video.play(); }); }

plyr.setup(video); })(); `

Guida contributor