- Timestamp:
- 04/18/2014 05:38:53 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/mediaelement/wp-playlist.js
r28150 r28158 70 70 71 71 renderCurrent : function () { 72 var dimensions ;72 var dimensions, defaultImage = 'wp-includes/images/media/video.png'; 73 73 if ( 'video' === this.data.type ) { 74 if ( this.data.images && this.current.get( 'image' ) ) {74 if ( this.data.images && this.current.get( 'image' ) && -1 === this.current.get( 'image' ).src.indexOf( defaultImage ) ) { 75 75 this.playerNode.attr( 'poster', this.current.get( 'image' ).src ); 76 76 }
Note: See TracChangeset
for help on using the changeset viewer.