须要修改的参数以下:php
flexsdk = D:/Program Files/Adobe/Adobe Flash Builder 4.7/sdks/4.6.0html
execextension =.exe(windows环境)html5
flexsdk.target = 11.1.0windows
application.majorversion = 6app
application.minorversion = 8ide
Line 71: <arg line="assets/six.xml" />(定义编译加载的皮肤)flex
一、flash版本:/src/flash/com/longailvideo/jwplayer/view/components/LogoComponent.asui
Line:55{编码
loadFile();加密
=>
///loadFile();
}
二、html5版本:/src/js/html5/jwplayer.html5.logo.js
Line:78{
_logo.src =(_settings.prefix ? _settings.prefix : "") + _settings.file;
=>
_logo.src ="";// (_settings.prefix ? _settings.prefix : "") + _settings.file;
}
一、flash版本:/src/flash/com/longailvideo/jwplayer/view/RightclickMenu.as
右键菜单名字
Line:61{
about = new ContextMenuItem('About JW Player ' + _player.version + '...');
=>
about = new ContextMenuItem('About hrloo Player V1.01');
}
右键菜单连接
Line:66{
navigateToURL(new URLRequest('http://www.longtailvideo.com/jwpabout/?a=r&v='+PlayerVersion.version+'&m=f&e=o'), '_top');
=>
navigateToURL(new URLRequest('http://www.hrloo.com'), '_top');
}
二、html5版本:/src/js/html5/jwplayer.html5.rightclick.js
右键菜单名字
Line:11{
ABOUT_DEFAULT = "About JW Player ",
=>
ABOUT_DEFAULT = "About hrloo Player ",
}
Line:29{
abouttext: ABOUT_DEFAULT + html5.version + '...'
=>
abouttext: ABOUT_DEFAULT + 'V1.0.1'
}
右键菜单连接
Line:12{
LINK_DEFAULT = "http://www.longtailvideo.com/jwpabout/?a=r&v=",
=>
LINK_DEFAULT = "http://www.hrloo.com",
}
Line:28{
aboutlink: LINK_DEFAULT+html5.version+'&m=h&e=o',
=>
aboutlink: LINK_DEFAULT,
}
/assets/目录图片为播放器加载的图片
/assets/six.xml播放器皮肤设置
播放器上面的图片已被加密成data:image/png;base64
能够在http://www.vgot.net/test/image2base64.php对修改好的图片和图标进行编码和解码替换到six.xml文件中