是否可以录制视频,并使用ActionScript 3和PHP把它上传到YouTube?把它、视频、PHP、ActionScript

2023-09-08 13:55:55 作者:-萌娃子-

我可以上传使用AS3基于Adobe AIR应用程序的视频到YouTube,记录它,将它发送到服务器,然后提交到YouTube帐户频道?

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?

是否有任何教程吗?

在此先感谢。

推荐答案

简短的回答:是的,

龙答:这是要采取一些努力,但你必须从它的声音片断

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

YouTube上传API:的http://$c$c.google.com/apis/youtube/2.0/developers_guide_protocol.html#Uploading_Videos

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

闪光灯拍摄的API: 的http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/NetStream.html#publish()

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

我不知道,如果你熟悉闪光灯拍摄,但如果你有一个安装 Flash Media Server的中,出版部分是真正pretty的简单。抢摄像机,附加到的NetStream 发布()

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().

在你的视频是在服务器上,它只是落实在PHP端所需的YouTube API调用的问题。我从来没有与他们的API。

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.