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 添付ファイル
27048 参照数
平均 (1 投票)
平均評価は5.0星中の5です。
コメント
コメント 作成者 日時
Hi, In Liferay 5.2.2, I also need to modify... Francesc Domenech 2009/05/06 3:48
Good. Thanks. It would be better to configure... Jonas Yuan 2009/09/29 5:58
Hi, has anyone a comparable solution for ckeditor? Anton Finders 2011/01/18 5:42
I just stumbled upon your blog and wanted to... Mathew David 2011/05/23 0:03
Hey Jonas, I followed you points but youtube is... Manikandan S 2011/08/04 5:53
Hi Jonas Yuan, we tried your below solution in... Ranga Rao Bobbili 2012/01/22 21:42

Hi,
In Liferay 5.2.2, I also need to modify (war)\html\js\editor\fckeditor\fckconfig.jsp
投稿日時:09/05/06 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/09/29 5:58
Hi,
has anyone a comparable solution for ckeditor?
Jonas Yuanへのコメント。投稿日時:11/01/18 5:42
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/05/23 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?
Mathew Davidへのコメント。投稿日時:11/08/04 5:53
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/01/22 21:42