开发者

Uploading video to youtube through the API, and show progress bar

开发者 https://www.devze.com 2023-01-04 11:08 出处:网络
HI, does anybody know if there\'s any option to show a real progress bar in my web site,w开发者_StackOverflow社区hen uploading a video to youtube using their API? I believe that in order to do so , I

HI, does anybody know if there's any option to show a real progress bar in my web site, w开发者_StackOverflow社区hen uploading a video to youtube using their API? I believe that in order to do so , I would need to have the option to make ajax calls during the upload to get the state of the upload. am I right? and if I am, do you know if that's possible and how? I"m building a website using Asp.Net with C# .


I don't know anything about the YouTube API, but you don't necessarily need it, if you can count the bytes that you're sending.

The exact implementation of that depends largely on what environment you are using (which is missing from the question). Is this a desktop application or a web site, and if so, which language is it written in?


If you talk about ajax calls to Youtube i don't remember Youtube providing state of upload. Its probably too crazy but you might get someones upload speed and size of video they are sending and make close to real progress bar. If testing upload speed in flash is possible it could work.

0

精彩评论

暂无评论...
验证码 换一张
取 消