Make sure mediaelement has loaded before assigning player.