Added option to exit the fullscreen player mode automatically when the video has ended.