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

pull/2487/head
Angel Fernando Quiroz Campos 9 years ago
parent 02fe6422fe
commit 9d244a5622
  1. 3
      main/template/default/layout/header.js.tpl
  2. 2
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Basic.php

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

@ -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

Loading…
Cancel
Save