tinymce/video MDL-19611 Restoring the video button so at least it works and we can do demos and tests. If there are still security issues then please describe them.

This commit is contained in:
moodler 2009-10-08 04:33:55 +00:00
parent 3cc5e0bcbc
commit 453bf70f6e
2 changed files with 2 additions and 1 deletions

View File

@ -88,6 +88,7 @@ class tinymce_texteditor extends texteditor {
}
}
$xmedia = 'media, ';
$filters = filter_get_active_in_context($context);
if (array_key_exists('filter/tex', $filters)) {
$xdragmath = 'dragmath,';

View File

@ -29,7 +29,7 @@
<td><label for="media_type">{#media_dlg.type}</label></td>
<td>
<select id="media_type" name="media_type" onchange="changedType(this.value);generatePreview();">
<option value="flash">Flash</option>
<option value="flash">Flash/Youtube</option>
<!-- <option value="flv">Flash video (FLV)</option> -->
<option value="qt">Quicktime</option>
<option value="shockwave">Shockwave</option>