Your player can implement actions based on the following events:
MediaPlayerItemLoader.completed
MediaPlayerItemLoader.failed