That quicktime video will be shown on the preview. So, if the user is on an iPad with Safari he can upload the video he is recording. If the user is on an iPhone or iPad and he is using a Safari browser he is unable to view the videos once they have been uploaded to the server. The problem occurs on some cases of video/quicktime videos. Since users use different browsers and devices I get some users that upload videos with file type video/mp4 files, but other upload video/quicktime videos. On another page I let the user view the video he has previously loaded in the site, this is simply done by putting the url of the video as source to an htm video html tag. I then use jQuery.ajax to store the video file on the server. Var video = document.getElementsByTagName('video') I then allow them to preview the video: var fileItem = document.getElementById('ikid-foto') Since users are all mobile or tablet users the phone or tablet prompts them (via the browser) to record a video that will be used as the input. I have a website that let's my users load videos.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |