Fix mediatag...
This commit is contained in:
parent
054ad9e741
commit
aeaf7d1950
@ -1065,7 +1065,9 @@ define([
|
|||||||
childList: true,
|
childList: true,
|
||||||
characterData: false
|
characterData: false
|
||||||
});
|
});
|
||||||
MediaTag($tag[0]);
|
MediaTag($tag[0]).on('error', function (data) {
|
||||||
|
console.error(data);
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
var emoji_patt = /([\uD800-\uDBFF][\uDC00-\uDFFF])/;
|
var emoji_patt = /([\uD800-\uDBFF][\uDC00-\uDFFF])/;
|
||||||
|
|||||||
@ -211,7 +211,7 @@
|
|||||||
if (e) { return setTimeout(function () { done(e); }); }
|
if (e) { return setTimeout(function () { done(e); }); }
|
||||||
|
|
||||||
if (plaintext) {
|
if (plaintext) {
|
||||||
if (i * cypherChunkLength < u8.length) { // not done
|
if ((i * cypherChunkLength + 2 + metadataLength) < u8.length) { // not done
|
||||||
chunks.push(plaintext);
|
chunks.push(plaintext);
|
||||||
return again();
|
return again();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -11,9 +11,7 @@ define([
|
|||||||
var u8 = file.blob; // This is not a blob but a uint8array
|
var u8 = file.blob; // This is not a blob but a uint8array
|
||||||
var metadata = file.metadata;
|
var metadata = file.metadata;
|
||||||
|
|
||||||
var owned = file.isOwned;
|
var owned = file.owned;
|
||||||
// XXX
|
|
||||||
owned = true;
|
|
||||||
|
|
||||||
// if it exists, path contains the new pad location in the drive
|
// if it exists, path contains the new pad location in the drive
|
||||||
var path = file.path;
|
var path = file.path;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user