Integrating YouTube Plugin for FCK Editor in Liferay

标签: 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 附件
27049 查看
平均 (1 投票)
满分为 5,平均得分为 5.0。
评论
讨论主题回复 作者 日期
Hi, In Liferay 5.2.2, I also need to modify... Francesc Domenech 2009年5月6日 上午3:48
Good. Thanks. It would be better to configure... Jonas Yuan 2009年9月29日 上午5:58
Hi, has anyone a comparable solution for ckeditor? Anton Finders 2011年1月18日 上午5:42
I just stumbled upon your blog and wanted to... Mathew David 2011年5月23日 上午12:03
Hey Jonas, I followed you points but youtube is... Manikandan S 2011年8月4日 上午5:53
Hi Jonas Yuan, we tried your below solution in... Ranga Rao Bobbili 2012年1月22日 下午9:42

Hi,
In Liferay 5.2.2, I also need to modify (war)\html\js\editor\fckeditor\fckconfig.jsp
在 09-5-6 上午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”
在 09-9-29 上午5:58 发帖。
Hi,
has anyone a comparable solution for ckeditor?
在 11-1-18 上午5:42 发帖以回复 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 |
在 11-5-23 上午12: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?
在 11-8-4 上午5:53 发帖以回复 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
在 12-1-22 下午9:42 发帖。