Skip to content

TagSpaces is an offline, open source, document manager with tagging support

adding handling of the web version

Ilianc6ed2cc4496e
diff --git a/data/ext/viewerAudioVideo/viewerUI.js b/data/ext/viewerAudioVideo/viewerUI.js
index 88cc9c557..855d1278f 100644
--- a/data/ext/viewerAudioVideo/viewerUI.js
+++ b/data/ext/viewerAudioVideo/viewerUI.js
@@ -16,7 +16,7 @@ console.log("Loading UI for Image Viewer");
this.containerElem = $('#'+extContainerID);
//TODO minimize platform specific calls
- if(isCordova) {
+ if(isCordova || isWeb) {
this.filePath = filePath;
} else {
this.filePath = "file:///"+filePath;