registerLifecycle

Method that adds the player as an observer to the activity or fragment's lifecycle.