AS3 Youtube player 0.2



Get Adobe Flash player


I’ve had a little time to iterate upon my previous demo using Youtube player in AS3.  It’s still not as clean as i’d like, and i haven’t done the Documentation yet, but it’s pretty solid and provides a good example of the methodology invloved.

I’ve only added Play/Pause btn, a clickable Progress bar, and mute button. The AS3 player loads in a AS2 flash movie which wraps the Youtube player and provides an actionable API. The AS@ communicates back to the AS3 player via a call to a pre named function passing all the current properties of the Youtube Player, currentTime, duration, state etc.

Once i get some more time, and i’ve tested it in a couple of applications i’ll finish it off and provide Documentation.

Click to download free source code

Posted

in

by