Possible to play a 100x100 video on part of the screen for iphone builds?

Hello, like the title says I would like to ask if it is possible somehow to playback for example a 100x100 pixels video on part of the screen or does video always have to be fullscreen on iphone builds?

Excuse the fact that I posted this on 2 places in this forum. I posted it 1 time for iOs and one time for Android since I don’t know if the answer would be the same.

Kind regards,

Bart [import]uid: 4426 topic_id: 2657 reply_id: 302657[/import]

Nobody who can answer this one? I know you can play fullscreen, but would a 100x100 pixel video be possible while having a background image on the full screen and this 100x100 pixel video played on top of that (without having to make a 480x320 video where the background and 100x100 video are combined) ? [import]uid: 4426 topic_id: 2657 reply_id: 8366[/import]

Not possible with Corona atm. [import]uid: 5712 topic_id: 2657 reply_id: 8367[/import]

Thank you,

OK, and there is also not a possibility to go into opengl 3D using native opengl calls ?

But in 2D sprite based stuff corona is allmighty?
regards,

Bart [import]uid: 4426 topic_id: 2657 reply_id: 8368[/import]

No, you can’t use direct OpenGL calls and need to work with what the engine provides.

>>But in 2D sprite based stuff corona is allmighty?

Who said that? [import]uid: 5712 topic_id: 2657 reply_id: 8375[/import]

Oops you don’t sound that optimistic.

Isn’t Corona good at speedy 2D sprite and image stuff?

Kind regards,

Bart [import]uid: 4426 topic_id: 2657 reply_id: 8378[/import]

Hi Bart,

your usage of the word “allmighty” sounded to me like…

“Someone said it is awesome and then it can’t do that simple stuff?!?”.

Maybe to much reading between the lines from my side. :slight_smile:

I think Corona is very fast and has a good set of features regarding sprites/images. But you are bound to them and can’t work around things like using external C/C++ libraries or call OpenGL directly.

Cheers
Michael [import]uid: 5712 topic_id: 2657 reply_id: 8381[/import]

I see.

Well I didn’t mean to be negative. I really meant that as far as I know (and tested some time ago), Corona was/is very fast in sprite handling.

So I meant ALLMIGHTY in a positive sense like “Corona is very good at that” [import]uid: 4426 topic_id: 2657 reply_id: 8383[/import]

No problem. I like Corona very much I think you will hardly find something else to create your games faster. [import]uid: 5712 topic_id: 2657 reply_id: 8397[/import]

Take a look at this sprite video to c the p4mance
http://blog.anscamobile.com/2010/10/zwoptex-sprite-animation-in-corona/

carlos [import]uid: 24 topic_id: 2657 reply_id: 8451[/import]

I do understand the concept of spritesheets and performance of that explosion is very nice.

However, I doubt if this technique will be what I need to display a 1 minute = 60 x 25 = 1500 images 100x100pixel video.

Maybe another question. Would it maybe work with a webpopup on top of my scene and then play video in that webpoput? Or can that webpopup only play video from and online source and not from a file on the local filesystem of the Ipod/Iphone/Android phone?
Kind regards,

Bart Libert [import]uid: 4426 topic_id: 2657 reply_id: 8465[/import]

@EducaSoft,

I posted an example of playing a video (Youtube) with webpopup, but it opens the video with the iPhone video player in full screen. Since mobile safari supports HTML 5 there may be a way to embed the video to play right there in the webpopup view, but I am skeptical because it seems that the video player wants to handle all video. Maybe I will try to experiment with this a little because it seems really cool! :slight_smile:

Here is my original post:
http://developer.anscamobile.com/forum/2010/08/15/watch-youtube-video-corona-app

Dave

[import]uid: 8194 topic_id: 2657 reply_id: 8582[/import]