VideoHome.Web/fckeditor/editor/plugins/flvPlayer/flvPlayer.js
(开头部分) 16KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
var oEditor = window.parent.InnerDialogLoaded() ;
var FCK = oEditor.FCK ;
// Set the language direction.
window.document.dir = oEditor.FCKLang.Dir ;
// Set the Skin CSS.
document.write( '<link href="' + oEditor.FCKConfig.SkinPath + 'fck_dialog.css" type="text/css" rel="stylesheet">' ) ;
var sAgent = navigator.userAgent.toLowerCase() ;
var is_ie = (sAgent.indexOf("msie") != -1); // FCKBrowserInfo.IsIE
var is_gecko = !is_ie; // FCKBrowserInfo.IsGecko
var oMedia = null;
var is_new_flvplayer = true;
function window_onload()
{
// Translate the dialog box texts.
oEditor.FCKLanguageManager.TranslatePage(document) ;
// Load the selected element information (if any).
LoadSelection() ;
// Show/Hide the "Browse Server" button.
GetE('tdBrowse').style.display = oEditor.FCKConfig.FlashBrowser ? '' : 'none' ;
// Activate the "OK" button.
window.parent.SetOkButton( true ) ;
}
function getSelectedMovie(){
var oSel = null;
oMedia = new Media();
oSel = FCK.Selection.GetParentElement();
// If in "Get the Flash Player" a href, do it again
if (oSel.id != null && !oSel.id.match(/^player[0-9]*$/)) {
oSel = oSel.parentNode;
}
if (oSel.id != null && oSel.id.match(/^player[0-9]*$/)) {
for (var i = 0; i < oSel.childNodes.length; i++) {
if (oSel.childNodes.item(i).nodeName=="DIV") {
var oC=oSel.childNodes.item(i).innerHTML.split(' ');
for (var o = 0; o < oC.length ; o++) {
var tmp=oC[o].split('=');
oMedia.setAttribute(tmp[0],tmp[1]);
}
is_new_flvplayer = false;
}
}
}
return oMedia;
}
function updatePlaylistOption () {
if (GetE('selDispPlaylist').value == "right" || GetE('selDispPlaylist').value == "below") {
GetE('chkPLThumbs').disabled=false;
GetE('chkPLThumbs').checked=true;
后面还有 515 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
