yikulju

front-end development

Youtube player in as3

Apr 14th 2009
No Comments
respond
trackback

In the Youtube as3/Flex integration the hard stuff is the communication, the official Youtube player is written in as2, hence, we can’t communicate with it from as3 easily.

There’re a couple great implementation of this but all of them have some sort of drawback.


The best implementation I found is TubeLoc, which is great but it’s unstable on my mac, it totally kills it after a while.

Besides this, I had one more requirement, I’d play more than one video simultaneously.

I tried, I tried hard to use one of the implementations, but I couldn’t. So I have to write my own version.


It’s quite straightforward and I put all of the code to GitHub, http://github.com/yikulju/youtube-as3-integration/tree

Check out the YoutubePlayer.mxml file.


This post is tagged , ,

No Comments