Video Playback in simulator & Force Landscape view

Hi,

I am testing the feasibility of using corona for the creation of some simple apps that mainly display a number of videos for both the iPhone and iPad. Things look promising but I had a few questions.

  1. I can’t get the simulator to play any videos, when I run the debugger I get the message: “WARNING: Simulator does not support device video” am I correct in assuming that the simulator is not able to play videos? If so, it may be worthwhile to state this somewhere in the documentation.

  2. I want the app to work only in landscape mode, so basically force the app to rotate into landscape if the iPhone/iPad is in portrait mode. Is there a way to do this in corona?

  3. I looked at the video specs in the API reference, does anyone have some hints as to how to transcode the videos into this exact format? What tools, and settings? I think I have them right but I can test until I am able to install the app on the device, for which I am waiting on Apple for the certs.

Thanks a bunch!

-J [import]uid: 1987 topic_id: 756 reply_id: 300756[/import]

jpons:

#1 The simulator does not play videos. I thought that we had that in documented it, but if not, we will fix that asap. We are considering firing off Quicktime if you play a video but will be external for the time being.

#2 The default is Landscape, and you can check for rotation. See the fishies sample app to see how to detect rotation.

#3 I use Quicktime Pro. or a product called HandBrake. Both work really great. I like Handbrake cos it gives you more options.

Carlos [import]uid: 24 topic_id: 756 reply_id: 1521[/import]

Carlos,

Thanks for the reply, here are my comments:

  1. Thanks! I looked and looked but did not see it mentioned anywhere, but it’s possible that I missed it.

  2. I know I can check for rotation, not sure what you mean that the default is landscape, do you mean for the video player? What I want to know is if there is ANY way to LOCK the application itself into landscape mode.

  3. I use both QTP and Handbrake, but as with anything video there are 10,000 settings and tweaks, I know I do a lot of HD video production also, I guess I will just do a bunch of trial and error and figure it out. Would be nice for there to be a Handbrake recipe, maybe once I figure it out, I’ll post one.

-J [import]uid: 1987 topic_id: 756 reply_id: 1525[/import]

Hi,
I have a native webview that has an html5 player and i want to launch it always in lanscape. I’ve been searching for so long in this posts and i really can’t find the answer.

Any luck locking a “view” in landscape?
thanks
[import]uid: 117044 topic_id: 756 reply_id: 80211[/import]