mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-23 00:31:28 +01:00
7b8cdd61fd
See #28510. Built from https://develop.svn.wordpress.org/trunk@31493 git-svn-id: http://core.svn.wordpress.org/trunk@31474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
34 lines
649 B
JavaScript
34 lines
649 B
JavaScript
/*globals wp */
|
|
|
|
/**
|
|
* wp.media.controller.VideoDetails
|
|
*
|
|
* The controller for the Video Details state
|
|
*
|
|
* @class
|
|
* @augments wp.media.controller.State
|
|
* @augments Backbone.Model
|
|
*/
|
|
var State = wp.media.controller.State,
|
|
l10n = wp.media.view.l10n,
|
|
VideoDetails;
|
|
|
|
VideoDetails = State.extend({
|
|
defaults: {
|
|
id: 'video-details',
|
|
toolbar: 'video-details',
|
|
title: l10n.videoDetailsTitle,
|
|
content: 'video-details',
|
|
menu: 'video-details',
|
|
router: false,
|
|
priority: 60
|
|
},
|
|
|
|
initialize: function( options ) {
|
|
this.media = options.media;
|
|
State.prototype.initialize.apply( this, arguments );
|
|
}
|
|
});
|
|
|
|
module.exports = VideoDetails;
|