added message saying local library not supported yet on web player

This commit is contained in:
2026-01-03 20:39:07 +01:00
parent c5a96d59ff
commit c65a2e1a5b
2 changed files with 4 additions and 4 deletions

View File

@@ -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: {}

View File

@@ -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: {}