Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Developer
Posts: 125
Registered: ‎10-02-2011
My Device: Playbook
My Carrier: none
Accepted Solution

Fullscreen HTML5 video in QNXStageWebView

When I select the fullscreen option for an HTML5 video in a QNXStageWebView it doesn't go fullscreen. Is this supposed to work?

Retired
Posts: 427
Registered: ‎02-22-2012
My Device: BlackBerry Z10, BlackBerry Dev Alpha C, BlackBerry PlayBook
My Carrier: Bell

Re: Fullscreen HTML5 video in QNXStageWebView

Hi,

 

I just wrote a quick test and pointed a QNXStageWebView to a site with HTML5 video and tested on my Dev Alpha and PlayBook and it appears you're right, it's not working. I'll dig into why, and if it should and post my findings.

 

Regards,
Dustin

Follow me on Twitter: @dustinmalik
-----------------------------------------------------------------------------------------------------
Keep up to date on BlackBerry development: http://devblog.blackberry.com/
Retired
Posts: 427
Registered: ‎02-22-2012
My Device: BlackBerry Z10, BlackBerry Dev Alpha C, BlackBerry PlayBook
My Carrier: Bell

Re: Fullscreen HTML5 video in QNXStageWebView

Ok I'm pretty sure this is a bug. I'm going to file a bug report for it.

 

-Dustin

Follow me on Twitter: @dustinmalik
-----------------------------------------------------------------------------------------------------
Keep up to date on BlackBerry development: http://devblog.blackberry.com/
Retired
Posts: 427
Registered: ‎02-22-2012
My Device: BlackBerry Z10, BlackBerry Dev Alpha C, BlackBerry PlayBook
My Carrier: Bell

Re: Fullscreen HTML5 video in QNXStageWebView

[ Edited ]

I just recieved this from Max Feil a software developer here at RIM:

 

"In GR2.x.x fullscreen mode needs to be implemented by the AIR app. If you don't implement it, fullscreen mode will not work. The WebWorks SDK has a FullScreenView class available to assist WebWorks apps in this. Non WebWorks AIR app writers can use it for ideas. After the QNXStageWebView object is constructed, you would make an ActionScript call like:

 

fsView = new FullScreenView( this, fullscreenClientGet() );

 

Unfortunately in GR2.x.x WebKit always assumes that fullscreen mode is available (it does not check). So if no fullscreen widget is implemented by the AIR app, you will get into the situation you described where only a part of the preparation for fullscreen has been done and you cannot exit. This is fixed in BB10. In the meantime, AIR app writers need to at least have a skeleton of a fullscreen widget in place that at minimum allows the user to exit, or just exits fullscreen mode immediately."

 

Hope this helps.

Follow me on Twitter: @dustinmalik
-----------------------------------------------------------------------------------------------------
Keep up to date on BlackBerry development: http://devblog.blackberry.com/