Jump to content
Search Community

LoaderMax for YouTube videos

vastav test
Moderator Tag

Recommended Posts

Actually, I don't think there'd be much benefit to using LoaderMax to load YouTube videos because they are not progressive downloads. I believe YouTube uses streaming so that you can't really get the whole file in your browser cache. You might just want to look at using their API directly:

http://code.google.com/apis/youtube/fla ... rence.html

http://www.zedia.net/2010/using-the-act ... utube-api/

Link to comment
Share on other sites

  • 3 weeks later...

You could load the actual youtube player API( chromeless or not ) with LoaderMax ( as swfLoader) - which is great for automatic loader parsing - then check if URL is youtube domain, parse loader to a youtube wrapper class which has all the API method calls ready - which are by default pretty similair to the one of the VideoLoaders.

 

I did something like this when testing YouTube API, I didnt like that I had to load the API player in url, and the actual youtube ID as the name. felt I was stinking up the XML with loads of urls to the same player. Another thing I remembered was the the inability to load custom arguments from my node.

Is there a way to get additional arguments which are not defined by the SWFLoader class, but added the same node?

 

For example:

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...