ckeditor-html5-audio is a CKEditor plugin that allows the easy insertion of HTML5 audio players.
Available on the official CKEditor add-on repository:
http://ckeditor.com/addon/html5audio
If you want to add the plugin manually, you will need to:
-
Extract the html5audio folder into the plugins folder of your CKEditor installation. Example:
http://example.com/ckeditor/plugins/html5audio
-
Enable the plugin by using the extraPlugins configurations setting. Example:
config.extraPlugins = 'html5audio';
-
Download and configure all its dependencies, too.
We want to thank all the people who helped translating this plugin:
- Bulgarian: N. Petkov
- Catalan: jhuguco
- Chinese: 郑东武, DarwinniwraD
- Farsi (Persian): Mohammad Hossein Rabiee
- French: Simon Georget, Mischa Sameli
- German: Mischa Sameli
- Swiss German: Mischa Sameli
- Greek: Dimitris Kritsotakis
- Polish: elanpl
- Russian: smartcorestudio
- Ukrainian Sensetivity
- Uzbek Bahriddin Abdiev
More translations are welcome and will be included in next releases. If you want to translate this plugin to your language follow these steps:
-
Fork this project
-
Create a new file in the html5/lang/ folder. The name of the file must be the two letter code of your language dot js. For example, fr.js for the French translation.
-
Copy the contents of the English translation (html5audio/lang/en.js) and paste them in your new file.
-
Translate the strings to your language and change the two letter code of the language in the first line of the file:
CKEDITOR.plugins.setLang( 'html5audio', 'en', {
-
Add the two letter code of your language to the string in the third line of the plugin.js file:
lang: 'bg,ca,de,de-ch,el,en,eu,es,fr,ru,uk,uz,zh-cn,fa,pl',
-
Create a pull request with your changes.
- Added Swiss German translation. Thanks Mischa Sameli!
- Added Polish translation. Thanks elanpl!
- Added compatibility with codemirror and textselection plugins. Thanks vkmet!
- Updated Chinese translation. Thanks DarwinniwraD!
- Added hidpi icon. Thanks Mischa Sameli!
- Updated French and German translations. Thanks Mischa Sameli!
- Added Advisory title in the advanced tab to manage the "title" attribute of the audio tag. Thanks N. Petkov!
- Updated Ukrainian translation. Thanks Sensetivity!
- Added Catalan translation. Thanks jhuguco!
- Added Bulgarian translation. Thanks N. Petkov!
- Added Farsi (Persian) translation. Thanks Mohammad Hossein Rabiee!
- Added an option to disable download. Code contributed by Nour Akalay. Thanks!
- Added Greek translation. Thanks Dimitris Kritsotakis!
- Changed Chinese language code from zh to zh-cn. CKEditor Builder doesn't include zh.
- Added Chinese translation. Thanks 郑东武!
- Added Uzbek translation. Thanks Bahriddin Abdiev!
- Added French translation. Thanks Simon Georget!
- Added German translation. Thanks Mischa Sameli!
- Fixed #9: Undefined resource fetched while opening the audio dialog
- Fixed #10: Missing icon for the context menu in built version
- Added Ukrainian translation. Thanks Sensetivity!
- Added option to set autoplay attribute
-
Bug fixes:
- Added context menu
- Fixed the left/right alignment
- Added Russian translation. Thanks smartcorestudio!
- Small bugfixes and improvements
- Initial release
ckeditor-html5-audio is free software/open source, and is distributed under the GNU General Public License v3 license.