Changing some of the logic for viewing the video