Tinymce and video
Posted: Thu Apr 11, 2013 10:21 am
Hello
Is is possible to disable the video function in Tinymce editor? The problem is, it produce some code that doesn't work, and if I enter the code manually, it automatically correct it back to the way it think it should be.
The case is this: I want to offer both .ogv and .mp4 video. This code works, and is how I want it:
But Tinymce change it to this code:
And that doesn't work in Firefox (20.0), most likely because FF don't support .mp4.
So, what do I do?
Is is possible to disable the video function in Tinymce editor? The problem is, it produce some code that doesn't work, and if I enter the code manually, it automatically correct it back to the way it think it should be.
The case is this: I want to offer both .ogv and .mp4 video. This code works, and is how I want it:
Code: Select all
<video width="530" height="398" autoplay="autoplay" preload="none" controls="controls">
<source src="http://www.sejlgarnet.dk/sejl/video/mvi_0512.mp4">
<source src="http://www.sejlgarnet.dk/sejl/video/mvi_0512.ogv" >
<!-- code for old browsers here -->
</video>
Code: Select all
<video width="530" height="398" src="http://www.sejlgarnet.dk/sejl/video/mvi_0512.mp4" autoplay="autoplay" preload="none" controls="controls">
<source src="http://www.sejlgarnet.dk/sejl/video/mvi_0512.ogv" >
<!-- code for old browsers here -->
</video>
So, what do I do?