diff --git a/src/wp-includes/js/mediaelement/wp-mediaelement.css b/src/wp-includes/js/mediaelement/wp-mediaelement.css index 11bee2edba..4f75345b41 100644 --- a/src/wp-includes/js/mediaelement/wp-mediaelement.css +++ b/src/wp-includes/js/mediaelement/wp-mediaelement.css @@ -98,7 +98,7 @@ } .wp-playlist-caption { - max-width: 90%; + max-width: 88%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; diff --git a/src/wp-includes/js/mediaelement/wp-playlist.js b/src/wp-includes/js/mediaelement/wp-playlist.js index aea1a610dc..094b5c58e4 100644 --- a/src/wp-includes/js/mediaelement/wp-playlist.js +++ b/src/wp-includes/js/mediaelement/wp-playlist.js @@ -52,7 +52,7 @@ this._player.pause(); this._player.remove(); this.playerNode = this.$( this.data.type ); - this.playerNode.prop( 'src', this.current.get( 'src' ) ); + this.playerNode.attr( 'src', this.current.get( 'src' ) ); this.settings.success = this.bindResetPlayer; } /** @@ -63,6 +63,7 @@ playCurrentSrc : function () { this.renderCurrent(); + this.player.setSrc( this.playerNode.attr( 'src' ) ); this.player.load(); this.player.play(); }, @@ -139,7 +140,7 @@ if ( last !== current ) { this.setPlayer(); } else { - this.playerNode.prop( 'src', this.current.get( 'src' ) ); + this.playerNode.attr( 'src', this.current.get( 'src' ) ); this.playCurrentSrc(); } },