This plugin allows insert and edit the new HTML5 <video> element. The dialog allows to specify the poster image, the dimensions (they are automatically adjusted according to the preview) and two source files, so that both the browsers that use the WebM format (Chrome, Firefox and Opera) and the ones that support only h264 (IE9 and Safari) can view your videos.
Here's a short video showing how it works.
Further explanations at the post in my blog.
Plugin sponsored by DM Logic
License
Licensed under the terms of any of the following licenses at your choice: GPL, LGPL and MPL.
Updates
1.3: Fix a problem with IE9, wrap the element in a <div> to avoid empty <p>s after switching from source, it's compatible with both v3 and v4
Download
Video version 1.3:
download link
Installation
1. Extract the contents of the file into the "plugins" folder of CKEditor.
2. In the CKEditor configuration file (config.js) add the following code:
config.extraPlugins = 'video';
Re: HTML5 Video
I use and appreciate this plugin to embed videos. I wonder if you would not know to adapt into a new that would add an audio button on the same model: tag html5 audio file mp3 and another, ogg, for example (and by a swf player for cases where others do not work).
I do not know programming in JS, so I make this request. (I do not know if the text is readable, it is automatically translated by google, so ...)
Thank you to tell me whether you believe it or not.
Re: HTML5 Video
Unfortunately I'm always busy with something with something else so unless some company steps up to sponsor that development don't expect that plugin from me for a while
Re: HTML5 Video
I dont read chinese , but I have chinese text, I want to paste it into the CKeditor to edit it but in english , I need a button to click on, so that, this chinese text can be translated into english, maybe using google translate system, then I am able to read it, and edit it.
Is there someone to help?
I created a plugin a while
.
Sorry but I can't help you.
Sorry but I can't help you.
I don't really know how you're using this plugin, what's that kind of magic URL that you're using, if it works in other browsers (you should know that there's a whole world beyond webkit),...
Besides that, I don't plan to work further on this plugin because one of the CKSource developers stated that they planned to add something similar in CKEditor 4, so there's no need for me to keep udating something that will be useless in a short time.
COOL!
Thank you very much!
Should this work for newer versions of CKEditor?
I'm using CKEditor 4.1.1.5 for one of my projects (using Drupal 7.22) and followed the instructions to install this video patch. However, after completing everything, end even flushing Dupal's cache the "Video" item does not show up as a toolbar option I can enable in the Buttons & Plugins configuration screen for my WYSIWYG editor.
Should it be supported and am I missing something, or should I search for another solution?
I guess that it could work
I guess that it could work with some little adjustments for CKEditor 4, and besides that I know that adding CKEditor plugins to Drupal is more complex than it's in normal situations.
But the main point is that the CKEditor developers claimed that they would provide a video plugin with all bells and whistles. You should ask them about that, or to the Drupal people. If you manage to convince the Drupal people that including such plugin is a must you can bet that it will be ready very soon.
Editing video
Is there a way to resize the video from editor not dialog?
You could improve the plugin
You could improve the plugin to work that way, but I'm not sure if that's a good idea because then the video will show scaled when the users play it.
Conflicts with flash plugin
Hello, I want to have Flash plugin and your plugin in my CKEditor, but they are overwriting each other. If i type
in config.js, then I have only flash in my toolbar, if I write flash first and video second, I have only video...any way to fix this?
You're assigning twice to the
You're assigning twice to the same property, so only the last one will work.
Flash is available in the default CKEditor (I guess that you're using 3.x because this plugin hasn't been updated for 4.x) so you don't need to add it as an extra plugin.
v4.4.3
I'm using 4.4.3 and I have to add flash as an extra plugin...video plugin without flash works fine.
EDIT: So I find out that I can add more plugins by writing config.extraPlugins = 'plugin1, plugin2...'
well, derp... :D thx for pointing me in right direction
CK Editor is duplicating the records
Hi,
Already implemented upload video plugin, its working, i am able to save data with video, but after i edit record and save it again, it duplicates the data, and also while retrieving data it fetches data inside ckeditor box like
Your browser doesn't support video. Please download the file: video/mp4 video/webm " rows="10"> q
Please suggest some solution
Regards
Attachments:
This plugin needs a full
This plugin needs a full review in order to work correctly with all the latest changes in CKEditor 4.
As I stated previously some member of the CKSource team stated that they planned to provide this kind of functionality so I don't plan to work here because I don't use this plugin.
Please suggest
Hi,
After more research, i found, ck editor source button is generating extra <p></p> tags,whenever i press source button,it starts generating extra paragraph tag.
Regards
Did you get over it?
I have similar problem. I think htmlpurifier can be the reason. I used
but it didn't help.
I got it working
CKEDITOR.config.extraAllowedContent = 'video [*]{*}(*);source [*]{*}(*);';
I guess the last posting would work as well but there ist a ; missing after }