Is it possible to record video and upload it to youtube using actionscript 3 and php?

被刻印的时光 ゝ 提交于 2020-01-14 04:33:07

问题


Can i upload videos to youtube using an as3 based Adobe Air application, record it, send it to a server and then submit to a youtube account channel?

Are there any tutorials on this?

Thanks in advance.


回答1:


Short answer: yes.

Long answer: It is going to take some effort, but you have the pieces from the sounds of it.

Youtube Upload API: http://code.google.com/apis/youtube/2.0/developers_guide_protocol.html#Uploading_Videos

Flash Recording API: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/NetStream.html#publish()

I don't know if you are familiar with flash recording, but if you have an installation of Flash Media Server, the publishing portion is really pretty simple. Grab Camera, attach to NetStream, publish().

Once your video is on the server, it is simply a matter of implementing the required youtube API calls on the PHP end. I have never worked with their API.



来源:https://stackoverflow.com/questions/6435139/is-it-possible-to-record-video-and-upload-it-to-youtube-using-actionscript-3-and

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!