native.newVideo() help needed...

Hi there,

I got very excited when I read that native.newVideo() was included in de daily build, but…

how to use it?
I tried this (from the crate video test):

local video = native.newVideo(0,0,500,500)
video:play("./video/clip.m4v")

but no success (and no error)

I really hope somebody can help me out, this would be perfect for a project I§m working on right now…

thanks a lot!

W.
[import]uid: 87151 topic_id: 20705 reply_id: 320705[/import]

I haven’t looked at it but based on Ansca’s other patterns, I would expect the call to look more like this:

local video = native.newVideo("./video/clip.m4v",0,0,500,500) video:play() [import]uid: 19626 topic_id: 20705 reply_id: 81318[/import]

No, you’re wrong. It´s more like the example on the first post. There’s a video where we can see part of the code and native.newVideo shows up something like this: native.newVideo( x, y, w, h)

Why do these guys release a new version with no documentation ?
I’m paying to access the new builds and I can’t play with the new api’s… shame on you ansca [import]uid: 10141 topic_id: 20705 reply_id: 81322[/import]

@Taruga, I guess you missed the part about where I said I had not looked into it.

But more importantly, “Daily Builds” are not releases. Releases are done periodically, we got one in December. The Documentation for that release is accurate. Daily builds on the other hand are cutting edge and features appear when they are code ready. Documentation will usually lag behind the daily builds. Its the nature of the beast.

Ansca does a good job of producing blog posts that show off the new features and we will probably get one on Tuesday covering these features.

[import]uid: 19626 topic_id: 20705 reply_id: 81327[/import]

It would be great if there is a way to view the videos using native.newVideo() in the simulator. Is there any? Will this be posible soon?

thanks
nml [import]uid: 105206 topic_id: 20705 reply_id: 82228[/import]

Check the Blog, they have just posted about this…

http://blog.anscamobile.com/2012/01/using-the-new-native-web-video-apis/

W. [import]uid: 87151 topic_id: 20705 reply_id: 82231[/import]