Hi,
I just created a asp.net app that uploads our clients videos to a youtube account. The app works great when the upload takes less than an hour or an hour and a half, but any longer uploads the page uploading the video dies with a "webpage not found" (or something to that effect), type of error. The page basically stops uploading and dies. It's hard to believe but these days, a short 5 minute hd video can be as large as 700meg. I can't ask our client to compress their video.
Here is a small sample of the code i am using to do the upload...
<form onSubmit=' return DisableButton()' id='submitform' action='https://uploads.gdata.youtube.com/action/FormDataUpload/AIwbFAREghx0-5BiBzazB7qw761ZnA_QgzZjXCaXNmT1HaCjuXTyNXvDjXMha9up5Z_m-Xc86j8e-wEJQMV241lSs1BfFSuCVw?nexturl=done.htm' method ='post' enctype='multipart/form-data'>
The above sample is just to show you i am using the standard method youtube suggests in their documentation.
I've looked into all types of session state paramaters, (iis and webconfig type), none seem to help. I really don't think it's a session timeout issue.. my thought is that it is a client webpage timeout issue... but i can't prove it... or fix it.
I have no problem uploading the same video through the normal www.youtube interface, oh and by the way, the youtube interface seems to upload the video a good bit quicker than the .net api.
So to summerize, I think the upload page is timing out after about 1 and 1/2 hours... is there something i can do to keep the upload going?
Thanks!
Steve
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To view this discussion on the web visit https://groups.google.com/d/msg/youtube-api-gdata/-/A1q5s37IpAcJ.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.
No comments:
Post a Comment