fckplugin.js 494 B

12345678910
  1. // Register the command.
  2. FCKCommands.RegisterCommand( 'flvPlayer',
  3. new FCKDialogCommand( FCKLang['DlgFLVPlayerTitle'], FCKLang['DlgFLVPlayerTitle'],
  4. FCKConfig.PluginsPath + 'flvPlayer/flvPlayer.html', 800, 570 )
  5. ) ;
  6. // Create and register the toolbar button.
  7. var oFlvPlayerItem = new FCKToolbarButton( 'flvPlayer', FCKLang['DlgFLVPlayerTitle']) ;
  8. oFlvPlayerItem.IconPath = FCKPlugins.Items['flvPlayer'].Path + 'flvPlayer.gif' ;
  9. FCKToolbarItems.RegisterItem( 'flvPlayer', oFlvPlayerItem ) ;