Integrating YouTube Plugin for FCK Editor in Liferay

Etiquetas: youtube plugin

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 archivos adjuntos
27048 Accesos
Promedio (1 Votar)
La valoración media es de 5.0 estrellas de 5.
Comentarios
Respuestas anidadas Autor Fecha
Hi, In Liferay 5.2.2, I also need to modify... Francesc Domenech 6 de mayo de 2009 3:48
Good. Thanks. It would be better to configure... Jonas Yuan 29 de septiembre de 2009 5:58
Hi, has anyone a comparable solution for ckeditor? Anton Finders 18 de enero de 2011 5:42
I just stumbled upon your blog and wanted to... Mathew David 23 de mayo de 2011 0:03
Hey Jonas, I followed you points but youtube is... Manikandan S 4 de agosto de 2011 5:53
Hi Jonas Yuan, we tried your below solution in... Ranga Rao Bobbili 22 de enero de 2012 21:42

Hi,
In Liferay 5.2.2, I also need to modify (war)\html\js\editor\fckeditor\fckconfig.jsp
Publicado el día 6/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”
Publicado el día 29/09/09 5:58.
Hi,
has anyone a comparable solution for ckeditor?
Publicado el día 18/01/11 5:42 en respuesta 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 |
Publicado el día 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?
Publicado el día 4/08/11 5:53 en respuesta 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
Publicado el día 22/01/12 21:42.