hls: upgrade hls.js and enable progressive mode

This commit is contained in:
aler9 2021-12-15 12:42:00 +01:00
parent a67e8b13b1
commit e3ecd4a11c

View File

@ -50,7 +50,7 @@ html, body {
<video id="video" muted controls autoplay></video>
<script src="https://cdn.jsdelivr.net/npm/hls.js@1.0.0"></script>
<script src="https://cdn.jsdelivr.net/npm/hls.js@1.1.1"></script>
<script>
@ -68,7 +68,7 @@ const create = () => {
} else {
const hls = new Hls({
progressive: false,
progressive: true,
});
hls.on(Hls.Events.ERROR, (evt, data) => {