store student recorded videos on local db

In order to avoid long downloading time and server hard disk space, students video are now stored on loacal db.