fckplugin.js 457 B

123456789
  1. // Register the command.
  2. FCKCommands.RegisterCommand( 'YouTube',
  3. new FCKDialogCommand( FCKLang['DlgYouTubeTitle'], FCKLang['DlgYouTubeTitle'],
  4. FCKConfig.PluginsPath + 'youtube/youtube.html', 600, 440 ) ) ;
  5. // Create the "YouTube" toolbar button.
  6. var oYouTubeItem = new FCKToolbarButton( 'YouTube', FCKLang['YouTubeTip'] ) ;
  7. oYouTubeItem.IconPath = FCKConfig.PluginsPath + 'youtube/youtube.gif' ;
  8. FCKToolbarItems.RegisterItem( 'YouTube', oYouTubeItem ) ;