use javascript to write a test program to upload video