sampotts/plyr

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

Open

#652 建立於 2017年9月4日

在 GitHub 查看
 (5 留言) (0 反應) (1 負責人)JavaScript (25,318 star) (2,856 fork)batch import
FeatureHelp WantedStreaming

描述

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); })(); `

貢獻者指南