mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #214 from tbraeutigam/NativeShell-Filesystem-Fallback
Fix Issue #213 - Direct Playback broken in Chrome 73
This commit is contained in:
commit
2b6865b0bd
1 changed files with 2 additions and 0 deletions
|
@ -6,11 +6,13 @@ define([], function () {
|
||||||
if (window.NativeShell && window.NativeShell.FileSystem) {
|
if (window.NativeShell && window.NativeShell.FileSystem) {
|
||||||
return window.NativeShell.FileSystem.fileExists(path);
|
return window.NativeShell.FileSystem.fileExists(path);
|
||||||
}
|
}
|
||||||
|
return Promise.reject();
|
||||||
},
|
},
|
||||||
directoryExists: function (path) {
|
directoryExists: function (path) {
|
||||||
if (window.NativeShell && window.NativeShell.FileSystem) {
|
if (window.NativeShell && window.NativeShell.FileSystem) {
|
||||||
return window.NativeShell.FileSystem.directoryExists(path);
|
return window.NativeShell.FileSystem.directoryExists(path);
|
||||||
}
|
}
|
||||||
|
return Promise.reject();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
});
|
});
|
Loading…
Add table
Add a link
Reference in a new issue