diff --git a/www/common/media-tag.js b/www/common/media-tag.js
index 9bdaddc25..a2beb3b4a 100644
--- a/www/common/media-tag.js
+++ b/www/common/media-tag.js
@@ -435,9 +435,14 @@
return mediaObject;
}
+ mediaObject.tag.innerHTML = '';
+
// Download the encrypted blob
download(src, function (err, u8Encrypted) {
if (err) {
+ if (err === "XHR_ERROR 404") {
+ mediaObject.tag.innerHTML = '';
+ }
return void emit('error', err);
}
// Decrypt the blob