视频上传地址获取错误

feat/task1-c-wallet
gongfuxiang 2019-01-11 00:32:14 +08:00
parent f5dd6db5f7
commit 32928d921a
1 changed files with 3 additions and 3 deletions

View File

@ -325,7 +325,7 @@
if(!url) return false;
if ( !checkNum( [width, height] ) ) return false;
editor.execCommand('insertvideo', {
url: convert_url(url),
src: convert_url(url),
width: width.value,
height: height.value,
align: align
@ -342,7 +342,7 @@
for(var i=0,img; img=imgs[i++];){
if(img.getAttribute("selected")){
videoObjs.push({
url:img.getAttribute("ue_video_url"),
src:img.getAttribute("ue_video_url"),
width:420,
height:280,
align:"none"
@ -498,7 +498,7 @@
for(var key in uploadVideoList) {
var file = uploadVideoList[key];
videoObjs.push({
url: uploadDir + file.url,
src: uploadDir + file.url,
width:width,
height:height,
align:align