I am using sqlform to upload a video and in the meantime converting the video to flv .Both the progress of uploading and encoding is displayed by two progress-bar using this code(http://www.web2pyslices.com/slice/show/1337/upload-progress-in-web2py). After the encoding and converting is both complete the user can play the converted video.
The problem is the form accepted when the upload is complete but the encoding is not complete.I tried the event.preventDefault() but the progress-bar do not display. It seems that the default submit can not be stopped at the time uploading is completed. How to make the submit after the converting is done?Thanks!