Fixing broken behaviour for HTML5 players.