Changeset 27443
- Timestamp:
- 03/06/2014 08:12:39 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/media-views.js
r27440 r27443 6281 6281 6282 6282 initialize: function() { 6283 _.bindAll(this, ' player');6283 _.bindAll(this, 'success'); 6284 6284 6285 6285 this.listenTo( this.controller, 'close', this.close ); … … 6302 6302 close : function() { 6303 6303 this.mejs.pause(); 6304 }, 6305 6306 player : function (mejs) { 6304 this.player.remove(); 6305 }, 6306 6307 success : function (mejs) { 6307 6308 this.mejs = mejs; 6308 6309 }, … … 6310 6311 render: function() { 6311 6312 var video, self = this, settings = { 6312 success : this. player6313 success : this.success 6313 6314 }; 6314 6315 … … 6327 6328 ].join(''); 6328 6329 6329 new MediaElementPlayer( video, settings );6330 this.player = new MediaElementPlayer( video, settings ); 6330 6331 return this; 6331 6332 },
Note: See TracChangeset
for help on using the changeset viewer.