a quastion about how to play a video NOT in FULLSCREEN on Android devices

hi,
i’m inserting video in my application and i’m using the: media.playVideo() , command.
but when i play the video on my android deviece it goes into full screen.
is there a way to load and play videos into ANDROIDS DEVICES, NOT in a full screen mode ?
any exmples maybe ?
thanks [import]uid: 173648 topic_id: 32858 reply_id: 332858[/import]

Interesting…

I took a look at the native video and webview apis: http://www.coronalabs.com/blog/2012/01/24/using-the-new-native-web-video-apis/

…and I’ve been playing around a couple hours, and haven’t been able to get a local video file to play on my nook… I tried mp4, m4v, .webm, and tried to make sure I was using video conforming to:

http://developer.android.com/guide/appendix/media-formats.html
…so I sidetracked a bit and found that this works on my Nook Color (YMMV)

using the webview physics demo (I’m using the 946 build currently)

change the url to:

webView:request( "http://youtube.googleapis.com/v/\_aUehQsCQtM?autoplay=1" )   

The ‘_aUehQsCQtM’ is the video part (an electric company snippet)
The ‘?autoplay=1’ part starts the video on load

I had to change the number of webviews being created to just 1, otherwise it wold work, but the videos would restart, and sometimes you would hear multiple soundtracks… I also periodically got messages saying the URL was not optimized for mobile video…

I found information about using youtube urls here: http://www.techairlines.com/2010/08/21/useful-youtube-url-tricks/

so… the video is the size you define, and even has physics properties :slight_smile: But it is in a browser window, and not a video file that you can use offline…

Maybe someone else has some more insight?
[import]uid: 135765 topic_id: 32858 reply_id: 130595[/import]

Interesting…

I took a look at the native video and webview apis: http://www.coronalabs.com/blog/2012/01/24/using-the-new-native-web-video-apis/

…and I’ve been playing around a couple hours, and haven’t been able to get a local video file to play on my nook… I tried mp4, m4v, .webm, and tried to make sure I was using video conforming to:

http://developer.android.com/guide/appendix/media-formats.html
…so I sidetracked a bit and found that this works on my Nook Color (YMMV)

using the webview physics demo (I’m using the 946 build currently)

change the url to:

webView:request( "http://youtube.googleapis.com/v/\_aUehQsCQtM?autoplay=1" )   

The ‘_aUehQsCQtM’ is the video part (an electric company snippet)
The ‘?autoplay=1’ part starts the video on load

I had to change the number of webviews being created to just 1, otherwise it wold work, but the videos would restart, and sometimes you would hear multiple soundtracks… I also periodically got messages saying the URL was not optimized for mobile video…

I found information about using youtube urls here: http://www.techairlines.com/2010/08/21/useful-youtube-url-tricks/

so… the video is the size you define, and even has physics properties :slight_smile: But it is in a browser window, and not a video file that you can use offline…

Maybe someone else has some more insight?
[import]uid: 135765 topic_id: 32858 reply_id: 130595[/import]

I’d like to know that too
didn’t work for me aswell
[import]uid: 174056 topic_id: 32858 reply_id: 130690[/import]

I’d like to know that too
didn’t work for me aswell
[import]uid: 174056 topic_id: 32858 reply_id: 130690[/import]