參考
http://blog.dgps.kh.edu.tw/blog/u882061/cce-lifetype/2010/01/13/1646
怕自己忘掉,所以紀錄一下
vi js/tinymce/plugins/insertvideo/editor_plugin.js
在約第 267 行~285行之間有個 getVideoFlashHTML 的 Function
function getVideoFlashHTML( url, width, height , type )
{
html = "<object type=\"application/x-shockwave-flash\" width=\""+width+"\" height=\""+height+"\" data=\""+url+"\" id=\""+type+"\">"+
"<param name=\"movie\" value=\""+url+"\" />"+
"<param name=\"wmode\" value=\"transparent\" />"+
"<param name=\"allowScriptAccess\" value=\"sameDomain\" />"+
"<param name=\"quality\" value=\"best\" />"+
"<param name=\"bgcolor\" value=\"#ffffff\" />";
// "<param name=\"scale\" value=\"noScale\" />";
if (type==’ltVideoGoear’) {
html= html + "<param name=\"FlashVars\" value=\""+url.substring( 43, url.length ) + "\" />";
} else {
html = html + "<param name=\"FlashVars\" value=\"playerMode=embedded\" />";
}
html = html + "</object>";
return( html );
}
把它增改為
function getVideoFlashHTML( url, width, height , type )
{
html = "<object type=\"application/x-shockwave-flash\" width=\""+width+"\" height=\""+height+"\" data=\""+url+"&fs=1\" id=\""+type+"\">"+
"<param name=\"movie\" value=\""+url+"&fs=1\" />"+
"<param name=\"wmode\" value=\"transparent\" />"+
"<param name=\"allowfullscreen\" value=\"true\" />"+
"<param name=\"allowScriptAccess\" value=\"sameDomain\" />"+
"<param name=\"quality\" value=\"best\" />"+
"<param name=\"bgcolor\" value=\"#ffffff\" />";
// "<param name=\"scale\" value=\"noscale\" />";
if (type==’ltVideoGoear’) {
html= html + "<param name=\"FlashVars\" value=\""+url.substring( 43, url.length ) + "\" />";
} else {
html = html + "<param name=\"FlashVars\" value=\"playerMode=embedded\" />";
}
html = html + "</object>";
return( html );
}