About This File
Categories:Β Contents,Β Semantics
Author:Β akilli
License:Β MIT,Β GPL,Β LGPL,Β MPL
Updated: 05 Dec 2018
This media widget can embed image, audio, video and iframe elements solely with their corresponding tags (<img>,Β <audio>,Β <video>Β andΒ <iframe>) or wrapped within aΒ <figure>Β when used with a caption.
In case the media element is wrapped within aΒ figureΒ element, this widget will add the CSS classΒ image,Β audio,Β videoΒ orΒ iframeΒ to theΒ figureΒ element. It also supports alignment by setting an appropriate CSS class (leftΒ orΒ right), and the attributesΒ width,Β heightΒ andΒ alt. TheΒ controls(audio and video) andΒ allowfullscreenΒ (iframe) are automatically set.
If you have installed a file browser that uses the API of theΒ mediabrowser add-onΒ or theΒ filebrowser add-on, theΒ Browse serverbutton will appear. This widget itself does not provide any file browser.
No configuration necessary.
Usage with theΒ mediabrowser add-on
If you use theΒ mediabrowser add-on, your media browser implementation can currently send following keys with the message:
{
alt: 'Alternative text', // optional
src: '/url/to/media', //required
type: 'image' // optional, one of audio, iframe, image or video
}
Releases
|
Plugin versions
|
CKEditor versions
|
||
|---|---|---|---|
|
4.11
|
4.10
|
4.9
|
|




Recommended Comments
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now