diff --git a/src/utils/index.ts b/src/utils/index.ts index 6aa6993..2273cd4 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -71,7 +71,7 @@ export const formatTime = (date: Date) => { }; export const destroyOldCustomPlayLib = (art: any) => { - for (const key of ["dash", "m3u8", "hls", "ts", "mpd", "torrent"]) { + for (const key of ["dash", "m3u8", "hls", "ts", "mpd", "torrent", "flv"]) { if (art[key]) { art[key].destroy(); art[key] = undefined;