Knowing when AVPlayer object is ready to play
You are playing a remote file. It may take some time for the AVPlayer to buffer enough data and be ready to play the file (see AV Foundation Programming Guide) But you don’t seem to wait for the player to be ready before tapping the play button. What I would to is disable this button … Read more