almost perfect time sharing + delete msg + mysql

able to detect whether the youtube video or uploaded video is finished