Integrating YouTube Plugin for FCK Editor in Liferay

Integrating YouTube Plugin for FCK Editor in Liferay #

Download Latest version YouTube Plugin:(From SourceForge)

http://sourceforge.net/project/showfiles.php?group_id=215257&package_id=260057&release_id=651317

Steps to Integrate YouTube Plugin in FCK Editor:

  • Copy the YouTube Folder under (war)\html\js\editor\fckeditor\editor\plugins\ Folder.
  • Add the Plugin by copying the below config line to (war)\html\js\editor\fckeditor\fckconfig.js File.
  • FCKConfig.Plugins.Add( 'youtube', 'en,ja' ) ;
  • Update the Default ToolBar set in Liferay fckconfig.js file, as below:

FCKConfig.ToolbarSets["Default"]= 'Image', 'Flash', 'YouTube'

Your done with Integrating YouTube Plugin in Liferay FckEditor.

(Note: Adding other FCKEditor Plugin involves same steps which are spcificied above, Only Plugin Names need to be changed)

0 Allegati
27043 Visualizzazioni
Media (1 Voto)
La media del punteggio è 5.0 stelle su 5.
Commenti
Commenti Autore Data
Hi, In Liferay 5.2.2, I also need to modify... Francesc Domenech 6 maggio 2009 3.48
Good. Thanks. It would be better to configure... Jonas Yuan 29 settembre 2009 5.58
Hi, has anyone a comparable solution for ckeditor? Anton Finders 18 gennaio 2011 5.42
I just stumbled upon your blog and wanted to... Mathew David 23 maggio 2011 0.03
Hey Jonas, I followed you points but youtube is... Manikandan S 4 agosto 2011 5.53
Hi Jonas Yuan, we tried your below solution in... Ranga Rao Bobbili 22 gennaio 2012 21.42

Hi,
In Liferay 5.2.2, I also need to modify (war)\html\js\editor\fckeditor\fckconfig.jsp
Inviato il 06/05/09 3.48.
Good. Thanks. It would be better to configure FCKEditor with YouTube plugin in $PORTAL_ROOT_HOME/html/js/editor/fckeditor/fckconfig.jsp like
• Download the latest version of YouTube plugin as a zip file at http://sourceforge.net/project/showfiles.php?group_id=215257&package_id=260057&r­elease_id=651317
• Unzip the zip file into $PORTAL_ROOT_HOME/html/js/editor/fckeditor/editor/plugins
• Add following line after the line FCKConfig.SpellChecker = 'SCAYT' ; in the configuration file $PORTAL_ROOT_HOME/html/js/editor/fckeditor/fckconfig.jsp
FCKConfig.Plugins.Add( 'youtube', 'en,ja' ) ;
• Update the tool bar set "liferay" in the configuration file $PORTAL_ROOT_HOME/html/js/editor/fckeditor/fckconfig.jsp as follows.
FCKConfig.ToolbarSets["liferay"] = [
<!-- ignore details -->
['Image','Flash','YouTube','Table','-','Smiley','SpecialChar']
] ;

As shown in above code, the YouTube plugin has been added between “Flash” and “Table”. After refreshing, you would see the icon “Insert/Edit YouTube” next to the icon “Insert/Edit Flash”
Inviato il 29/09/09 5.58.
Hi,
has anyone a comparable solution for ckeditor?
Inviato il 18/01/11 5.42 in risposta a Jonas Yuan.
I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. 70-291 dumps | 70-433 dumps | 312-50 dumps | E20-515 dumps | 646-671 dumps | 642-642 dumps | HP0-D07 dumps | 1Y0-A24 dumps | 352-001 dumps | 1z0-051 dumps | 642-437 dumps | 642-637 dumps |
Inviato il 23/05/11 0.03.
Hey Jonas,
I followed you points but youtube is not affecting in the fckeditor.(I checked in web content portlet).
I Unzipped the you Tube plugin in $PORTAL_ROOT_HOME/html/js/editor/fckeditor/editor/plugins.
I added, FCKConfig.Plugins.Add( 'youtube', 'en,ja' ) ; in $PORTAL_ROOT_HOME/html/js/editor/fckeditor/fckconfig.js.
and added the following line in PORTAL_ROOT_HOME/html/js/editor/fckeditor/fckconfig.js.
FCKConfig.ToolbarSets["li­feray"] = [
<!-- ignore details -->
['Image','Flash','YouTube','Table','-','Smiley','SpecialChar']
] ;
But no luck.. What went wrong for me?
Inviato il 04/08/11 5.53 in risposta a Mathew David.
Hi Jonas Yuan, we tried your below solution in liferay version 6.0.6 and not working.

could you please provide me the solution for Liferay 6.0.6.

Regards,
Ranga Rao
Inviato il 22/01/12 21.42.