Merge pull request #214 from tbraeutigam/NativeShell-Filesystem-Fallback
Fix Issue #213 - Direct Playback broken in Chrome 73
This commit is contained in:
@@ -6,11 +6,13 @@ define([], function () {
|
||||
if (window.NativeShell && window.NativeShell.FileSystem) {
|
||||
return window.NativeShell.FileSystem.fileExists(path);
|
||||
}
|
||||
return Promise.reject();
|
||||
},
|
||||
directoryExists: function (path) {
|
||||
if (window.NativeShell && window.NativeShell.FileSystem) {
|
||||
return window.NativeShell.FileSystem.directoryExists(path);
|
||||
}
|
||||
return Promise.reject();
|
||||
}
|
||||
};
|
||||
});
|
||||
Reference in New Issue
Block a user