mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-13 15:56:15 -08:00
chore: Add artplayer plugins for various video formats
This commit is contained in:
1 parent
eb5369573d
commit
c3ea0bdeec
14 files changed
+46
-1
No files matched your search
@@ -1,3 +1,6 @@
|
||||
// npm i hls.js
|
||||
// import Hls from 'hls.js';
|
||||
|
||||
function playM3u8(video, url, art) {
|
||||
if (Hls.isSupported()) {
|
||||
if (art.hls) art.hls.destroy();
|
||||
|
||||
Reference in new issue
Block a user