mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Fixes #3543 - YouTube video insertion into text area.
This commit is contained in:
@@ -2344,7 +2344,7 @@ class media_admin_ui extends e_admin_ui
|
||||
$thumbnail = $value['snippet']['thumbnails']['medium']['url'];
|
||||
|
||||
$items[] = array(
|
||||
'previewHtml' => $tp->toVideo($id.".".$extension, array('w'=>210, 'h'=>140)),
|
||||
'previewHtml' => $bbcode ? null : $tp->toVideo($id.".".$extension, array('w'=>210, 'h'=>140)),
|
||||
'previewUrl' => $thumbnail,
|
||||
'saveValue' => $id.".".$extension, // youtube",
|
||||
'thumbUrl' => $thumbnail,
|
||||
|
Reference in New Issue
Block a user