Yes, I know there are a TON of players out there already, but every time I try to use one I find them either:
a) too complicated to use
b) too complicated to integrate
c) too complicated to skin
d) too complicated
e) any combination of the above
And because I'm a geek and I can, I've come up with ZAudio and ZVideo. What do they offer? Check it out:
- No graphic interface whatsoever. And by interface I mean controls, ZVideo only shows the video itself and ZAudio doesn't even have graphical representation (extends from EventDispatcher).
- Common and
simple API. Basically they hide all the NetStream/NetConnection/SoundChannel complications and offer simple methods such as load(), isPlaying(), play(), pause(), and common events for loading, finished, etc.
Want to see them in action?
[code lang="ActionScript"]var player:ZVideo = new ZVideo();
player.load("your_video.flv");
addChild(player);[/code]
[UPDATE]
You can see a more real life demo in
ZVideoDemo.as that compiles to
this. Enjoy Zidane : )
[/UPDATE]
That's it, done. And the code would be exactly the same for ZAudio (without the addChild). Then of course you have to implement your own controls and that's something that you might or might not see as an advantage. I obviously think it is because every damn project has a VERY specific design and then you are on the nightmare of skinning somebody else's code.
They are not perfect yet but I don't think the API is going to change much, maybe some of the events.
You can grab them from
ZCode's
Google Code repo, package tv.zarate.player.*
Enjoy.