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:
@@ -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
|
||||
------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user