diff --git a/static/editor/dialogs/video/video.js b/static/editor/dialogs/video/video.js index 5069b5d3..7e8a23b6 100644 --- a/static/editor/dialogs/video/video.js +++ b/static/editor/dialogs/video/video.js @@ -74,16 +74,13 @@ dialog.onok = function(){ $G("preview").innerHTML = ""; var currentTab = findFocus("tabHeads","tabSrc"); - switch(currentTab){ + switch(currentTab) { case "video": return insertSingle(); - break; case "videoSearch": return insertSearch("searchList"); - break; case "upload": return insertUpload(); - break; } }; dialog.oncancel = function(){ @@ -139,8 +136,8 @@ if(img.getAttribute("selected")){ videoObjs.push({ url:img.getAttribute("ue_video_url"), - width:420, - height:280, + width:650, + height:380, align:"none" }); } @@ -273,8 +270,8 @@ $G("preview").innerHTML = '