Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

expand to fullscreen only on a certain area of the stage

Contributor ,
Jun 15, 2013 Jun 15, 2013

I have a video player that I'd like to click on the expand fullscreen button to expand only the video portion (excluding the control and playlist). Is it possible to do that?

Thanks,

TOPICS
ActionScript
870
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 15, 2013 Jun 15, 2013

yes, use an flvplayback component and select a skin with a fullscreen button and publish using an html template that allows fullscreen.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jun 15, 2013 Jun 15, 2013

Sorry, I wasn't clear. It is a custom video player that I use metadata to detect the width and height and change the video screen ratio (16:9 or 4:3) based on the video being read. Then the location and size of the screen is different. If I use displaystate, it's the whole stage expanded to full screen not just the area the video is. I may have the playlist at one side that I need to exclude too. So I wonder if there is a way to expand to full-screen only on for example 640 x 360 from the top left corner of the stage?

BTW, is it possible to change a document dimensiions on the fly? Then maybe I can set the document size to the video area when expand to full screen button is clicked. Click again, it sets the document dimensions back.

Thanks for the help.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 15, 2013 Jun 15, 2013

then you'll need to further customize that player to enable a fullscreentakeover property.

and no, you can't dynamically control the flash stage.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jun 16, 2013 Jun 16, 2013

> then you'll need to further customize that player to enable a fullscreentakeover property.

Then how to? I can't find any info on it. scale seems to scale to the open browser window. any pointers? Thanks!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 16, 2013 Jun 16, 2013
LATEST

you'll need to edit the class files for your player or, maybe it already has a fullscreentakeover property.  i'm not familiar with the player your using so i can't help you with it.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines