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();
|
const ext = targetUnit.format || targetUnit.name.split('.').pop().toLowerCase();
|
||||||
|
|
||||||
if (!['mp4'].includes(ext)) {
|
if (![''].includes(ext)) {
|
||||||
setLoading(`Format '${ext}' not supported in web player. Use MPV.`);
|
setLoading(`Local files are not supported on the web player yet. Use MPV.`);
|
||||||
_rawVideoData = {
|
_rawVideoData = {
|
||||||
url: targetUnit.path,
|
url: targetUnit.path,
|
||||||
headers: {}
|
headers: {}
|
||||||
|
|||||||
@@ -1098,8 +1098,8 @@ const AnimePlayer = (function() {
|
|||||||
|
|
||||||
const ext = targetUnit.format || targetUnit.name.split('.').pop().toLowerCase();
|
const ext = targetUnit.format || targetUnit.name.split('.').pop().toLowerCase();
|
||||||
|
|
||||||
if (!['mp4'].includes(ext)) {
|
if (![''].includes(ext)) {
|
||||||
setLoading(`Format '${ext}' not supported in web player. Use MPV.`);
|
setLoading(`Local files are not supported on the web player yet. Use MPV.`);
|
||||||
_rawVideoData = {
|
_rawVideoData = {
|
||||||
url: targetUnit.path,
|
url: targetUnit.path,
|
||||||
headers: {}
|
headers: {}
|
||||||
|
|||||||
Reference in New Issue
Block a user