Upload videos

Bug in uploading .avi, cannot create thumbnail and display on
index.html. need more testing