Add feature to automatically close out video page when playing is completed.