Embed: added hls.js player

This commit is contained in:
Cat 2021-04-21 18:25:31 +02:00 committed by Thulinma
parent 97f040cefd
commit dac00f6555
8 changed files with 171 additions and 2 deletions

View file

@ -1,6 +1,6 @@
mistplayers.html5 = {
name: "HTML5 video player",
mimes: ["html5/application/vnd.apple.mpegurl","html5/video/mp4","html5/video/ogg","html5/video/webm","html5/audio/mp3","html5/audio/webm","html5/audio/ogg","html5/audio/wav"],
mimes: ["html5/application/vnd.apple.mpegurl","html5/application/vnd.apple.mpegurl;version=7","html5/video/mp4","html5/video/ogg","html5/video/webm","html5/audio/mp3","html5/audio/webm","html5/audio/ogg","html5/audio/wav"],
priority: MistUtil.object.keys(mistplayers).length + 1,
isMimeSupported: function (mimetype) {
return (MistUtil.array.indexOf(this.mimes,mimetype) == -1 ? false : true);