Adding same behavior for HTML5 player.