Skip to main content
Known Participant
October 29, 2011
Question

Video on android phone always fullscreen ?

  • October 29, 2011
  • 1 reply
  • 846 views

Hi,

Does anyone know if video is always played fullscreen on android ?

I have a 800x480 project and I include a FLV using the FLVplayer in my project.

The FLV is a lot smaller then the fullscreen and my air app is setup for fullscreen app.

Is it normal that the FLV is automatically zoomed to the full android screen? I wanted to let it play in its initial size 128x128 px

Kind regards,

Bart

This topic has been closed for replies.

1 reply

Known Participant
October 29, 2011

If you set the app to NOT run fullscreen (The APP, not the FLVplayer), then it works. Is this a known problem where the flvplayback component automatically wants to go fullscreen when the app is fullscreen?

Can I change this behaviour ?

Colin Holgate
Inspiring
October 29, 2011

I was decompiling something recently, and it looked like there is code in the later FLVPlayback component to try and deal with the fullscreen issue. But in any case, you should use netstream, and a video component, instead of the FLVPlayback component. Then you can set it to be the full screen stage yourself, and you'll get better performance.

Known Participant
October 30, 2011

Thank you for your answer.

Euhm, I'm not very used to displaying video without a flvplayer.

Do you mean that I should go into my library, rightclick and select "new video" then make is an "actionscript controlled video" and then drag that one onto my stage from the library ?

Any example code how to use this then ?

Kind regards,

Bart