General code cleanup and improving video sizing in the admin:

* Abstract the setting of a primary button and its callback in `wp.media.view.MediaFrame.MediaDetails`
* Account for the existence or non-existence of `$content_width` in the TinyMCE views for video
* Make sure video models always have dimensions, even if they are the defaults
* For browsers that are not Firefox, don't use a timeout when setting the `MediaElementPlayer` instance in TinyMCE views

See #27320.



git-svn-id: https://develop.svn.wordpress.org/trunk@27655 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2014-03-22 23:25:08 +00:00
parent 7ad1e0f1bb
commit 42e7ed7c78
4 changed files with 162 additions and 224 deletions
@@ -164,6 +164,10 @@ embed {
max-width: 100%;
}
audio {
visibility: hidden;
}
/**
* WP Views
*/