What is the status of Video playback in NME?

305 views
Skip to first unread message

Stephane Le Dorze

unread,
Jan 25, 2012, 8:29:19 AM1/25/12
to haxe...@googlegroups.com
I double ask it here because perhaps I'll have more answers..

So; What is the status of Video playback in NME? (targets / embedded / not embedded (streamed?) )

Ler me know, Thanks! ;)

Stephane

Florian Hofmann

unread,
Jan 25, 2012, 10:02:53 AM1/25/12
to haxe...@googlegroups.com
+1 ;) video support would really push nme in the front row.

Stephane Le Dorze

unread,
Jan 25, 2012, 4:59:37 PM1/25/12
to haxe...@googlegroups.com
So I may take that as an answer..

Joshua Granick

unread,
Jan 25, 2012, 9:37:42 PM1/25/12
to haxe...@googlegroups.com
While many features of NME apply to all or most platforms, video applies
very specifically to each platform.

Particularly on mobile platforms, there are special APIs you need to use
to access video, and it can be a lot of work to get it working smoothly.

I would love to see video support, but it isn't in the scope of what I am
working on right now. It may be possible to add video support using NME
extensions for iOS and Android. I think that any other target would
require further integration into the framework

Alex Liebert

unread,
Jan 26, 2012, 4:31:07 PM1/26/12
to haxe...@googlegroups.com
If you're looking to play back videos from files inside the app bundle, on the iPhone, I'd peg it at less than 4 hours of work to implement if you're pretty handy with Objective C.  If you're not, it's still not too tough, Joshua's posted some good examples of his new extension system I think.

Alex




Stephane Le Dorze

unread,
Jan 27, 2012, 2:41:08 AM1/27/12
to haxe...@googlegroups.com
Good to know... I though about streaming videos from some URLs...

Tarwin Stroh-Spijer

unread,
Jan 27, 2012, 2:41:29 PM1/27/12
to haxe...@googlegroups.com
I think streaming the simplest way is to invoke the iphone media player (if on iOS). That's what plants vs zombies does. Not really integrated at all, more a "play this  URL" call I think. Should be super easy to hack in.


Tarwin Stroh-Spijer
_______________________

Touch My Pixel
http://www.touchmypixel.com/
cell: +1 650 842 0920
_______________________


On Thu, Jan 26, 2012 at 11:41 PM, Stephane Le Dorze <stephane...@gmail.com> wrote:
Good to know... I though about streaming videos from some URLs...

--

Joshua Granick

unread,
Jan 27, 2012, 3:44:07 PM1/27/12
to haxe...@googlegroups.com
What happens if you call a video URL using Lib.getURL in NME?
Reply all
Reply to author
Forward
0 new messages