added message saying local library not supported yet on web player
This commit is contained in:
@@ -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: {}
|
||||
|
||||
Reference in New Issue
Block a user