Update mediatag

pull/1/head
yflory 8 years ago
parent 4335b050af
commit 1b6fae4dd2

File diff suppressed because one or more lines are too long

@ -65,10 +65,11 @@ define([
var $mt = $iframe.find('#encryptedFile'); var $mt = $iframe.find('#encryptedFile');
$mt.attr('src', '/blob/' + hexFileName.slice(0,2) + '/' + hexFileName); $mt.attr('src', '/blob/' + hexFileName.slice(0,2) + '/' + hexFileName);
$mt.attr('data-crypto-key', cryptKey); $mt.attr('data-crypto-key', 'salsa20poly1305:'+cryptKey);
$mt.attr('data-type', type); $mt.attr('data-type', type);
require(['/common/media-tag.js'], function (MediaTag) { require(['/common/media-tag.js'], function (MediaTag) {
console.log(MediaTag);
var configTb = { var configTb = {
displayed: ['useradmin', 'share', 'newpad'], displayed: ['useradmin', 'share', 'newpad'],
ifrw: ifrw, ifrw: ifrw,

Loading…
Cancel
Save