New open source code repo. First commit: YouTube API Player

Categories: Source code
Tags: ,

diesel

I’ve set up a Google code repository at http://code.google.com/p/stinkdigital-flash/ with the idea of releasing some the work I do to the community. The plan is to add simple, encapsulated, useful (hopefully) chunks of code such as utilities and APIs.

The first commit is a wrapper for the YouTube ActionScript Player API. This was created for the first phase of a project we’re working on for Diesel and it basically simplifies working with YouTube within Flash.

I wrote about it in detail on the Stink Digital blog at: http://www.stinkdigital.tv/blog/2010/01/14/youtube-player-api/

Usage example:

var player:YouTubePlayer = new YouTubePlayer();
player.autoPlay = false;
player.source = “lQ3D4CqHbJM”;
addChild( player );

Posted By }i{ on January 30, 2010

No Comments

Make A Comment

No comments yet.

Comments RSS Feed    TrackBack URL

Leave a comment

©2009 Ian McGregor. All rights reserved.
Powered by Wordpress.org