Преглед изворни кода

Use custom CKEditor's Flash plugin with support for FLV videos - refs #8458

Angel Fernando Quiroz Campos пре 8 година
родитељ
комит
9d244a5622

+ 2 - 1
main/template/default/layout/header.js.tpl

@@ -18,7 +18,8 @@
         'video',
         'wikilink',
         'wordcount',
-        'youtube'
+        'youtube',
+        'flash'
     ];
 
     plugins.forEach(function(plugin) {

+ 1 - 1
src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Basic.php

@@ -147,7 +147,7 @@ class Basic extends Toolbar
         }
 
         $config['customConfig'] = api_get_path(WEB_LIBRARY_PATH).'javascript/ckeditor/config_js.php';
-        $config['flash_flvPlayer'] = api_get_path(REL_PATH).'web/assets/ckeditor/plugins/flash/swf/player.swf';
+        $config['flash_flvPlayer'] = api_get_path(REL_PATH) . 'main/inc/lib/javascript/ckeditor/plugins/flash/swf/player.swf';
 
         /*filebrowserFlashBrowseUrl
         filebrowserFlashUploadUrl