Changeset 27895 for trunk/src/wp-includes/js/mediaelement/wp-playlist.js
- Timestamp:
- 04/01/2014 07:03:24 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/mediaelement/wp-playlist.js
r27871 r27895 53 53 this._player.remove(); 54 54 this.playerNode = this.$( this.data.type ); 55 this.playerNode. prop( 'src', this.current.get( 'src' ) );55 this.playerNode.attr( 'src', this.current.get( 'src' ) ); 56 56 this.settings.success = this.bindResetPlayer; 57 57 } … … 64 64 playCurrentSrc : function () { 65 65 this.renderCurrent(); 66 this.player.setSrc( this.playerNode.attr( 'src' ) ); 66 67 this.player.load(); 67 68 this.player.play(); … … 140 141 this.setPlayer(); 141 142 } else { 142 this.playerNode. prop( 'src', this.current.get( 'src' ) );143 this.playerNode.attr( 'src', this.current.get( 'src' ) ); 143 144 this.playCurrentSrc(); 144 145 }
Note: See TracChangeset
for help on using the changeset viewer.