-
Website
http://drawlogic.com/ -
Original page
http://drawlogic.com/2008/11/08/as3-youtube-chromeless-player-in-flashflex/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
protopop
1 comment · 2 points
-
_mark
1 comment · 2 points
-
Igre
7 comments · 1 points
-
carbontwin
1 comment · 1 points
-
drawcode
15 comments · 1 points
-
-
Popular Threads
-
Web Sockets in Google Chrome and Proposed Standard for HTML5
4 weeks ago · 5 comments
-
Web Sockets in Google Chrome and Proposed Standard for HTML5
Can you play youtube just with flash?
Is it possible to play with only an .swf, and no specialized youtube-javascript at all. I.e., is it possible to play from inside flash without external interface? 1
When loading the YouTubeLoader and an FLVPlayback (or VideoPlayer) in the same project, it works one time out of ten.
In Debug mode (where the youtubeLoader doesn't work, obviously) the runtime error does not occur), while in Run mode the FLVPlayback/VideoPlayer refuses to play anything after the Youtube player has played smth. and throws the following error:
ArgumentError: Error #2126: NetConnection object must be connected.
at flash.net::NetStream/construct()
at flash.net::NetStream()
at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::_createStream()[...\fl\video\VideoPlayer.as:3980]
at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::_load()[...\fl\video\VideoPlayer.as:1215]
at fl.video::VideoPlayer/play()[...\fl\video\VideoPlayer.as:971]
I can't even start it by overring the NetConnection that's used in the VideoPlayer load method. I declare a new NC... connect it to null (for http streaming) and still the same error.
Probably a Flash Player problem with the NetConnection. :(
I understand youtubes securities, but it would be great to get data like formats - (HQ, HD, etc) as well as flv meta data (which can be acquired from a NetStreams.client obj in As3) Any thoughts if it would be possible to obtain that through the API? Been looking through all the APIs out there for the last week - nothing yet except getting a token and pulling the flv directly.
Thanks
ChadAndrewDrobish