chore: Add artplayer plugins for various video formats

This commit is contained in:
Harvey Zack committed 2024-05-26 22:53:06 +08:00
1 parent eb5369573d
commit c3ea0bdeec
14 files changed
+46 -1

No files matched your search

+3
View File
@@ -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();