Home
>
Youtube,
Youtube Wrapper > Youtube AS3 Wrapper – Downloads
Youtube AS3 Wrapper – Downloads
Here you can download the files
Note: The latest wrapper available for download is at the bottom of this page!
DOWNLOAD WRAPPER v0.6
DOWNLOAD TEST HARNESS SOURCES
EDIT March 29, 2009 @ 3:17
ADDED NEW v0.7 Youtube AS3 Wrapper
DOWNLOAD WRAPPER v0.7
DOWNLOAD TEST HARNESS SOURCES v1.1
EDIT April 21, 2009 @ 23:22
ADDED NEW v0.7.1 Youtube AS3 Wrapper
DOWNLOAD WRAPPER v0.7.1
DOWNLOAD TEST HARNESS – AIR SOURCES v1.0
EDIT June 03, 2009 @ 18:58
ADDED NEW v0.7.2 Youtube AS3 Wrapper
DOWNLOAD WRAPPER v0.7.2
EDIT July 12, 2009 @ 22:48
ADDED NEW v0.8.0m Youtube AS3 Wrapper
DOWNLOAD WRAPPER v0.8.0m
DOWNLOAD Youtube Test Player – Flash sources v1.0
admin Youtube, Youtube Wrapper Actionscript 3.0, as3, download, harness, test, wrapper, Youtube
Forgive me, but I take it there is no way to load the Youtube player (not the chromeless one) in my SWF? That is, to have the playbar and all the functionality of the Youtube player, and still have access to their API from ActionScript.
Actually the way to load the chrome player is exactly as if you would load the chromeless one. And the api is exactly the same. Please refer to the youtube page for more details, and if you find any trouble come back here: http://code.google.com/apis/youtube/flash_api_reference.html
@admin
Maybe I’m doing something wrong. I tried to use exactly the same code there, except that I’m loading “http://www.youtube.com/v/dkc6PsrSbs0″ instead of the “/apiplayer” version. The video plays normally, but I get a Security Sandbox error saying that my swf cannot access http://www.youtube.com/v/dkc6PsrSbs0 (the loader.content generates this). And I cannot interact with the Youtube player through its API.
PS I have a Security.allowDomain(”*”) in my SWF (and allowInsecureDomain(”*”)).
@admin
I’ve actually managed to solve the problem, had to change the URL a bit. Now I only get the Security error when I mouse over a shape in my SWF, although it should basically have nothing to do with the player. Anyway, thank you very much for your help.
no problem.
I’ve solved all other issues, everything works perfectly, but now I’ve run into an annoying bug: scrollbar mouseup event never occurs, so there is no stopDrag, I have to click somewhere outside the player to trigger it. I’ve seen this posted as a bug on google support, but so far I’ve found no solutions.
You might wanna try to listen for the stage’s mouseUp event, and trigger it from there.
Solved it in the end, but not proud of having to add extra event listeners for a bug like this.
.
I had already tried to listen to stage mouseUp, but it didn’t reach the stage. Turned out I actually had to listen to both click and mouseUp events from the player instance (the loaded player swf) and re-dispatch two events bla bla
Sometime you just have to do whatever needed to work around the issue until the problem is fixed.