mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-29624 Media embedding system, part 2: preview in file picker
The JavaScript file picker API shows a preview of the media file you have chosen. This preview facility now uses an iframe, in order not to duplicate the embed code in JavaScript. The iframe uses the standard embed API.
This commit is contained in:
parent
daefd6eb97
commit
f4e7ba5ea8
3 changed files with 60 additions and 53 deletions
|
@ -773,6 +773,11 @@ body.tag .managelink {padding: 5px;}
|
|||
.mediaplugin_mp3 object {height:15px;width:300px}
|
||||
audio.mediaplugin_html5audio {width: 300px}
|
||||
|
||||
/* TinyMCE moodle media preview frame should not have padding */
|
||||
.core_media_preview.pagelayout-embedded #content {padding:0;}
|
||||
.core_media_preview.pagelayout-embedded #maincontent {height:0;}
|
||||
.core_media_preview.pagelayout-embedded .mediaplugin {margin:0;}
|
||||
|
||||
/*
|
||||
Fix for SubScript & SuperScript
|
||||
------------------------------*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue