diff --git a/desktop/src/scripts/anime/player.js b/desktop/src/scripts/anime/player.js index 0642ac7..bd0fd0b 100644 --- a/desktop/src/scripts/anime/player.js +++ b/desktop/src/scripts/anime/player.js @@ -1098,8 +1098,8 @@ const AnimePlayer = (function() { const ext = targetUnit.format || targetUnit.name.split('.').pop().toLowerCase(); - if (!['mp4'].includes(ext)) { - setLoading(`Format '${ext}' not supported in web player. Use MPV.`); + if (![''].includes(ext)) { + setLoading(`Local files are not supported on the web player yet. Use MPV.`); _rawVideoData = { url: targetUnit.path, headers: {} diff --git a/docker/src/scripts/anime/player.js b/docker/src/scripts/anime/player.js index 0642ac7..bd0fd0b 100644 --- a/docker/src/scripts/anime/player.js +++ b/docker/src/scripts/anime/player.js @@ -1098,8 +1098,8 @@ const AnimePlayer = (function() { const ext = targetUnit.format || targetUnit.name.split('.').pop().toLowerCase(); - if (!['mp4'].includes(ext)) { - setLoading(`Format '${ext}' not supported in web player. Use MPV.`); + if (![''].includes(ext)) { + setLoading(`Local files are not supported on the web player yet. Use MPV.`); _rawVideoData = { url: targetUnit.path, headers: {}