Changeset 28246
- Timestamp:
- 05/02/2014 04:59:47 PM (11 years ago)
- Location:
- branches/3.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.9
-
branches/3.9/src/wp-includes/js/mediaelement/wp-playlist.js
r28150 r28246 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.