Installation:
1 - copy the folders: mp3player AND youtube to: ckeditor/plugins/
2 - copy file: player_mp3.swf to you woking directory: where you call the contents of ckeditor
example: if you have a page called view.php or view.html , then the file: player_mp3.swf must be in same directory. like this:
my_dir/view.php
my_dir/view.html
my_dir/any_thing.html
my_dir/player_mp3.swf
3 - open ckeditor main config file: config.js or (edit your config code)
the load the plugins:
config.extraPlugins = "youtube,mp3player";
and add them to toolbar :
{ name: 'insert', items : [ 'Youtube','Mp3Player'] },
4- config.js is an example of source ckeditor with theattached plugins
Note:
by default the mp3 player is set to autoplay
to change it: open: ckeditor/plugins/mp3player/dialogs/mp3player.js
go to line: 21 look for: autoplay=1 change to: autoplay=0
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
example config file: how to load the pluings: youtube, mp3player
*/
CKEDITOR.editorConfig = function( config )
{
config.extraPlugins = "youtube,mp3player,autogrow"; /* look here */
config.language = 'en';
config.uiColor = '#D8C18F';
config.skin = 'kama';
config.contentsLangDirection = 'rtl';
config.autoGrow_maxHeight = '450';
config.toolbar_Full =
[
{ name: 'document', items : [ 'Source','-','Save','NewPage','DocProps','Preview','Print','-','Templates' ] },
{ name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },
{ name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] },
{ name: 'insert', items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'] },
{ name: 'insert', items : [ 'Youtube','Mp3Player'] }, /* look here */
/*{ name: 'forms', items : [ 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField' ] },*/
'/',
{ name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },
{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] },
{ name: 'links', items : [ 'Link','Unlink','Anchor' ] },
'/',
{ name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] },
{ name: 'colors', items : [ 'TextColor','BGColor' ] },
{ name: 'tools', items : [ 'Maximize', 'ShowBlocks','-','About' ] }
];
};
maa@intro.ps

Re: Fully Working Youtube and Mp3 plugins
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Re: Fully Working Youtube and Mp3 plugins
thanks for the comments.
I have updated the youtube plugin, and stated to users not to paste embed code. along with examples.
also i changed the mp3 icon.
good luck
MOhammed
Re: Fully Working Youtube and Mp3 plugins
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Re: Fully Working Youtube and Mp3 plugins
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Re: Fully Working Youtube and Mp3 plugins
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Re: Fully Working Youtube and Mp3 plugins
I haven't tested which ones behave this way because so far I haven't needed this option.
Re: Fully Working Youtube and Mp3 plugins
Re: Fully Working Youtube and Mp3 plugins
Although After I added : CKEDITOR.config.extraPlugins = 'youtube'; in the config file, it disengages the loading of my StyleSheets in my ckeditor instances.
So my drop down styles is empty. If I delite the extraplugins line, everything is back to normal (styles).
I really wonder why and how I could resolve the issue.
Thanks for your help.
Re: Fully Working Youtube and Mp3 plugins
hi Sergelie,
can you post your config here. so we can check it.
regards
Re: Fully Working Youtube and Mp3 plugins
Thanks a lot introtik : It was a problem with my config. It is solved! Regards.
Re: Fully Working Youtube and Mp3 plugins
Browse Server
Attachments:
Re: Fully Working Youtube and Mp3 plugins
the plugin work perfectly, but same with zoe. i need the "browse server" button to get my file from the browse window of my file manager. thanks.
i got a plugin https://source.sakaiproject.org/contrib/unisa/fckeditor/EmbedMovies/ but it is for FCKEditor not for CKeditor.
thanks. hopefull there is way out for my problem.
thanks
Regards.