play video function,replace photo,delete file and thumbnail