It would be great to have MP3 Player to be integrated - so uploading and linking to a MP3 would be as easy as placing an image.

(If this already exists, I'd be very keen to learn more!!!)

CommentFileSizeAuthor
#22 ckeditor.config.js_.txt4.23 KBanrikun
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

roxy317’s picture

I have need of this feature as well. Love the editor, but need to be able to add media files ... not just flash.

mephir’s picture

Some idea ? Integrate with other module which provide mp3 support? In ckeditor module is MediaEmbed plugin, maybe it can help you with mp3 support.

mephir’s picture

Status: Active » Postponed (maintainer needs more info)
roxy317’s picture

The media plugin does not seem to allow embedding of anything except .swf. In TinyMCE there is a flash button and a media button. The media button allows selection of different media players (QTime, Windows Media, etc) This made it very easy for clients to maintain their own audio library.

Enzman’s picture

Status: Postponed (maintainer needs more info) » Active

Q. Some idea?
A. I don't understand this question. Please ask using more descriptive words.
++++++++++++++++++++++++++++++++++++++++++++++++++++++

Q. Integrate with other module which provide mp3 support?
A. I'm not sure I understand what you are ask.hat that means is that the solution will need to integrate with modules like CKEditor / IMCE. It's likely to involve some sort of basic media player / media commands.
++++++++++++++++++++++++++++++++++++++++++++++++++++++

mephir wrote: In ckeditor module is MediaEmbed plugin, maybe it can help you with mp3 support.

Where can I get the MediaEmbed plugin? If it's the same as http://drupal.org/project/emfield then it's not what I am looking for. My want is for users to have a 'system' of placing MP3 files on a node like a page that is as easy as placing an image. The player would be automatically added as the file is placed.

Again, if this solution already exists then I'm very keen to hear.

If there is more information you need, please ask.

mephir’s picture

If i understand good, you need filebrowser where can you select file diffrent than swf and image. In ckeditor is small plugin which help a while plugin is set for IMCE and it let to add to content other files than images. It generate for them urls.

mephir’s picture

Status: Active » Postponed (maintainer needs more info)
Enzman’s picture

Status: Postponed (maintainer needs more info) » Active

No mephir, it appears you do not understand. We already have that ability - what I believe you end up with is a file without a player that sits on a page. (How do you make it play/pause?)

What I am talking about is additional functionality to CKEditor via a plug in. Once you have a plug in installed, then you use IMCE to browse to an MP3 file (just like when placing an image). The plugin is then renders or links a player that becomes part of the content.

So you end up with controls on your page for the MP3 file that you have 'placed'. It would be like having an embedded YouTube video with just the controls (no video) - but of course the player comes from the plug in.

mephir’s picture

Status: Active » Postponed
Enzman’s picture

Status: Postponed » Active

Mephir, why did you postpone this? Is your intention to postpone indefinitely?

I believe that to have a plug in that allows the linking of MP3s with a player being automatically inserted via CKEditor is a good idea. At least one other person posted in agreement.

The idea is to simplify a process that is currently beyond the reach of my clients. My intention is to make it as simple as placing a picture...

mephir’s picture

Status: Active » Postponed

Postponed because, this isn't main thing to do in new release. It will be created after 6-1.2 release. Please be patient. Can you send me that mp3 player? Maybe in my free time i'll try to do it.

Enzman’s picture

Status: Postponed » Active

Thank you mephir for advising the reason for postponing.

It will be the basic controls, (play/pause, go to start, go to end, volume) similar to YouTube controls.

Please advise your estimate of the time frame for this so I can schedule it (and evaluate my options).

Note that I have revised the status to active as I fear my query will not get responded to if left as "postponed".

mephir’s picture

I found something like this. In my opinion it should be diffrent plugin with own dialog because this player have own configuration settings.

If i get answer i need about a week to do it.

Enzman’s picture

As a player, that is fine. Basic is good.

You wrote:
"In my opinion it should be diffrent plugin with own dialog because this player have own configuration settings."

Then you are missing the point.

The objective is to make it for clients with basic skills to use CKEditor to place an MP3 as easily as placing a picture (which they can already do), ideally using IMCE to manage the files. This to allow clients with basic skills to:
1) Click on a CKEditor icon to 'place' an MP3.
2) Select file then OK.

The configuration etc. needs to be made separate but the module needs to interface with CKEditor.

anrikun’s picture

Please review CKEditor SWF version 6.x-2.0 introducing FLV and MP3 files easy embedding.

Enzman’s picture

Anrikun - sounds very good. I'd be very interested to see a working example (anyone tried it yet?).

anrikun’s picture

I need to set up a demo site! :-)

Enzman’s picture

OK. Can we at least have a look at what the MP3 player looks like?

anrikun’s picture

I've just created a sandbox!

http://www.absyx.fr/en/sandbox

Any MP3 player can be used as long as the right configuration is added in ckeditor.config.js.
In this sandbox, it's WordPress Audio Standalone Player = 1 Pixel Out (http://wpaudioplayer.com).

wwalc’s picture

Status: Active » Closed (fixed)

Please check the CKEditor SWF module created by anrikun... and recommend it to others if you like it :-)

jcbou’s picture

anrikun: can you help with your ckeditor.config.js configuration settings - with 1PixelOut player?
I have a hard time finding the right settings. What you have in your sandbox looks great.

anrikun’s picture

FileSize
4.23 KB

Find attached the ckeditor.config.js I'm using on the sandbox.
The same configuration is also available in the README.txt.

Do not forget to rename the attached file!

anrikun’s picture

Update!

CKEditor SWF has been updated to 6.x-2.1.
So the ckeditor.config.js file above should not be used anymore!

Eranga’s picture

Version: 6.x-1.0-beta1 » 7.x-1.1

I have a hack to embed WordPress audio player to play audios in a node using the ck editor in D7. If someone is interested I can post the steps and the code(JavaScript/jQuery).