fckplugin.js 440 B

123456789
  1. // Register the command.
  2. FCKCommands.RegisterCommand( 'Media',
  3. new FCKDialogCommand( FCKLang['DlgMediaTitle'], FCKLang['DlgMediaTitle'],
  4. FCKConfig.PluginsPath + 'media/media.html', 600, 440 )) ;
  5. // Create the "YouTube" toolbar button.
  6. var oMediaItem = new FCKToolbarButton( 'Media', FCKLang['MediaTip'] ) ;
  7. oMediaItem.IconPath = FCKConfig.PluginsPath + 'media/media.png' ;
  8. FCKToolbarItems.RegisterItem( 'media', oMediaItem ) ;