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.



git-svn-id: https://develop.svn.wordpress.org/trunk@27411 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2014-03-05 15:06:00 +00:00
parent 8bf3827b8e
commit 0c8f553115
9 changed files with 980 additions and 36 deletions
+4 -4
View File
@@ -1460,7 +1460,7 @@
}
.embed-link-settings,
.embed-image-settings {
.embed-media-settings {
position: absolute;
top: 60px;
left: 0;
@@ -1470,7 +1470,7 @@
overflow: auto;
}
.image-details .embed-image-settings {
.image-details .embed-media-settings {
top: 0;
}
@@ -1523,7 +1523,7 @@
margin: 2px 0;
}
.media-embed .setting input,
.media-embed .setting input[type="text"],
.media-embed .setting textarea {
display: block;
width: 100%;
@@ -1872,7 +1872,7 @@
/* Image From Link */
.embed-link-settings,
.embed-image-settings {
.embed-media-settings {
padding-bottom: 52px;
}