FCKeditor flv插件

FCKeditor的Flv插件

 

这是一个国外牛人开发的强大FLV视频播放器插件,可以自定义播放器界面颜色,可设置播放器默认图片,支持单文件和XML文档列表调用。

 

1、先下载FLV的插件,下载地址:http://sourceforge.net/tracker/download.php?group_id=75348&atid=737639&file_id=278897&aid=1856051

 

2、使用方法:

  1. Unzip the files into the plugins folder.
  2. Configure the editor to see the plugin. In your editor configuration file, add the line below:

    FCKConfig.Plugins.Add( 'flvPlayer','en') ;

  3. Add the toolbar button to your preferred menu.

    FCKConfig.ToolbarSets[ "Default"] = [
    ['Source','DocProps','-','Save','NewPage','Preview','-','Templates',
    'flvPlayer'],

3、修改上传浏览不支持FLV格式BUG

    vi flvPlayer/flvPlayer.js

Change:
OpenServerBrowser(
'flv',
oEditor.FCKConfig.MediaBrowserURL,
oEditor.FCKConfig.MediaBrowserWindowWidth,
oEditor.FCKConfig.MediaBrowserWindowHeight ) ;

by:

OpenServerBrowser(
'flv',
oEditor.FCKConfig.FlashBrowserURL,
oEditor.FCKConfig.FlashBrowserWindowWidth,
oEditor.FCKConfig.FlashBrowserWindowHeight ) ;

Now, IMCE will be opened, but when you select a file, IMCE can't send back
the path.
To solve it:

vi flvPlayer/flvPlayer.html
Change all ocurrencies of "txtURL" by "txtUrl"

vi flvPlayer/flvPlayer.js
Change all ocurrencies of "txtURL" by "txtUrl"

 

详细的资料:

http://sourceforge.net/tracker/index.php?func=detail&aid=1856051&group_id=75348&atid=737639

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值