配置方法:
将代码解压缩至fckeditor/editor/plugins下
在fckconfig.js中
FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ;
FCKConfig.Plugins.Add( 'Media', 'en,zh,zh-cn' ) ; //启用媒体
FCKConfig.Plugins.Add( 'Attach', 'en,zh,zh-cn' ) ; //启用附件
//将插件整合进工具栏'Media' 'Attach'
FCKConfig.ToolbarSets["Default"] = [
['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
'/',
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote','CreateDiv'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Anchor'],
['Media','Attach','Image','Flash','flvPlayer','Table','Rule','Smiley','SpecialChar','PageBreak'],
'/',
['Style','FontFormat','FontName','FontSize'],
['TextColor','BGColor'],
['FitWindow','ShowBlocks','-','About'] // No comma for the last row.
] ;
来自:
http://www.shenjk.com/Details/487.html
flvPlayer - A plugin for FCKeditor
Overview
The flvPlayer plugin allows you to add and configure a small media player that playes flv and mp3's.
Installation and Configuration
- Unzip the files into the plugins folder.
- Configure the editor to see the plugin. In your editor configuration file, add the line below:
FCKConfig.Plugins.Add( 'flvPlayer','en') ;
- Add the toolbar button to your preferred menu.
FCKConfig.ToolbarSets[ "Default"] = [
['Source','DocProps','-','Save','NewPage','Preview','-','Templates','flvPlayer'], - Save and upload your configuration file. If all goes well, you should see the flvPlayer icon on your toolbar.
5.下载地址
http://sourceforge.net/tracker2/index.php?func=detail&aid=1856051&group_id=75348&atid=737639