Flash WebViewer fullscreen now available in toolbar for WebViewer 1.6.

16 views
Skip to first unread message

Ryan - PDFNet Developer

unread,
Sep 25, 2013, 4:39:58 PM9/25/13
to pdfnet-w...@googlegroups.com
New in WebViewer 1.6 is full screen mode for flash, enabled from a button in the toolbar same as the other viewers.

One thing to note about flash full screen, is that originally it disabled keyboard input. Starting with Flash Player 11.3 (Aug 2012) there is a new interactive full screen, though which has the down side of triggering a confirmation window for the user.

If you want to switch to the old style full screen, take a look at the _createFlash() function in WebViewer.js, it is clearly marked as below.

///////////////////////////////////////////////////////////////////////////////////
// Control full screen mode using these options.
//params.allowfullscreen = "false"              // disable full screen
params.allowfullscreen = "true";                // keyboard input disabled
params.allowFullScreenInteractive = "true";     // requires Flash Player 11.3+
///////////////////////////////////////////////////////////////////////////////////

Note that allowFullScreenInteractive is simply ignored on earlier runtimes, so it safe to include.
Reply all
Reply to author
Forward
0 new messages