diff --git a/main/inc/lib/formvalidator/Element/html_editor.php b/main/inc/lib/formvalidator/Element/html_editor.php index a55a395b88..45b44db7ba 100644 --- a/main/inc/lib/formvalidator/Element/html_editor.php +++ b/main/inc/lib/formvalidator/Element/html_editor.php @@ -1,5 +1,5 @@ fck_editor->Config['FlashBrowserURL'] = $this -> fck_editor->BasePath . "editor/filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/php/connector.php&ServerPath=$upload_path"; $this -> fck_editor->Config['FlashUploadURL'] = $this -> fck_editor->BasePath . "editor/filemanager/upload/php/upload.php?Type=Flash&ServerPath=$upload_path" ; - $this -> fck_editor->Config['MediaBrowserURL'] = $this -> fck_editor->Config['FlashBrowserURL']; + //$this -> fck_editor->Config['MediaBrowserURL'] = $this -> fck_editor->Config['FlashBrowserURL']; //for MP3 $this -> fck_editor->Config['MP3BrowserURL'] = $this -> fck_editor->BasePath . "editor/filemanager/browser/default/browser.html?Type=MP3&Connector=connectors/php/connector.php&ServerPath=$upload_path"; @@ -132,6 +132,9 @@ class HTML_QuickForm_html_editor extends HTML_QuickForm_textarea //link $this -> fck_editor->Config['LinkBrowserURL'] = $this -> fck_editor->BasePath . "editor/filemanager/browser/default/browser.html?Type=Images&Connector=connectors/php/connector.php&ServerPath=$upload_path"; + + // for flv Player (Videos) + $this -> fck_editor->Config['MediaBrowserURL'] = $this -> fck_editor->Config['VideoBrowserURL']; } /** * Check if the browser supports FCKeditor @@ -194,4 +197,4 @@ class HTML_QuickForm_html_editor extends HTML_QuickForm_textarea return $result; } } -?> \ No newline at end of file +?>