My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Links

The YouTube Actionscript API allows for using the YouTube Data API's as defined here http://code.google.com/apis/youtube/2.0/reference.html. As well as using the YouTube Player API's in either chromed or chrome-less style as described here http://code.google.com/apis/youtube/flash_api_reference.html. Though the official YouTube Player API is for AS2 it can be used for AS3 with the code and examples supplied in the repository.

An online example can be seen here http://www.lostinactionscript.com/blog/index.php/2007/10/13/flash-you-tube-api/ from my original blog post regarding this YouTube Actionscript 3 API.

For users who do not want to use the You Player API and prefer just accessing the FLV video directly this can be achieved by using the Actionscript class YouTubeAPI by using the methods getVideoToken initially and finally getVideoUrl. These methods require the use of server side code which proxy HTTP requests to YouTube to fulfill this functionality. These server side scripts are getToken.php and streamFile.php which are also supplied in the repository.

If you would like to support this project or use it commercially please donate to help support ongoing updates and improvements it really is appreciated.

Powered by Google Project Hosting