Add TinyMCE placeholders for audio and video shortcodes.
* Add `wp.media.mixin`. * Add `wp.media.audio` and `wp.media.video`. * Add `wp.media.model.PostAudio` and `wp.media.model.PostVideo` * Add `wp.media.controller.AudioDetails` and `wp.media.controller.VideoDetails`. * Add `wp.media.controller.ReplaceAudio` and `wp.media.controller.ReplaceVideo`. * Add `wp.media.view.MediaFrame.AudioDetails` and `wp.media.view.MediaFrame.VideoDetails`. * Add `wp.media.view.AudioDetails` and `wp.media.view.VideoDetails`. * Update the `wpgallery` TinyMCE plugin. * Display audio and video players in the media modal when shortcode is clicked. * Provide a UI to edit shortcode attributes in the media modal. * Provide a UI to replace the `src` media file in an `audio` or `video` shortcode. See #27016. Built from https://develop.svn.wordpress.org/trunk@27411 git-svn-id: http://core.svn.wordpress.org/trunk@27258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -14,6 +14,27 @@
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
.audio-details .wp-audio-shortcode {
|
||||
display: inline-block;
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
.video-details .embed-video-settings,
|
||||
.audio-details .embed-audio-settings {
|
||||
top: 10px;
|
||||
}
|
||||
|
||||
.video-details .embed-video-settings .checkbox-setting,
|
||||
.audio-details .embed-audio-settings .checkbox-setting {
|
||||
width: 100px;
|
||||
clear: none;
|
||||
}
|
||||
|
||||
.video-details .wp-video-holder {
|
||||
width: 100%;
|
||||
max-width: 640px;
|
||||
}
|
||||
|
||||
.wp-playlist {
|
||||
border: 1px solid #ccc;
|
||||
padding: 10px;
|
||||
|
||||
Reference in New Issue
Block a user