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

Web and WebWorks Development

Reply
Highlighted
Regular Contributor
Posts: 77
Registered: ‎06-02-2012
My Device: Playbook, BB10
My Carrier: Orange

Flash Player stops playing in backgrounded app

Hi,

I have an app that plays a streaming video using Flash Player, but when I minimize the app or put the phone to stand-by, the app only plays a couple more seconds(probbaly from the buffer) and then stops.  Is there any way to prevent this? I would like the app to keep playing while minimized.

 

The app has the necessary permission to run in background.

 

Thanks,

Andrei

Forums Veteran I
Posts: 1,831
Registered: ‎07-01-2013
My Device: BlackBerry Passport SIlver Edition (OS10.3.2876)
My Carrier: Movilnet

Re: Flash Player stops playing in backgrounded app

Hello Andreyavram

 

The is playing a video either with the application you are using right or from the native video player BB10 to minimize the application this will stop, therefore not capable even video playback while minimizing want to run another application.

 

Regards.

 

Kudos **Do not forget to give those people who help and advise you regarding your questions, as well give the answer like**

@ gutijose14


BBM Channels  PIN: C0007093A
Do not forget to give LIKE   Like Those people who help you and advise you about your doubts. Accept as Solution
Regular Contributor
Posts: 77
Registered: ‎06-02-2012
My Device: Playbook, BB10
My Carrier: Orange

Re: Flash Player stops playing in backgrounded app

HTML5 video works fine, in background and/or minimized, why can't Flash Player do the same?

New Developer
Posts: 11
Registered: ‎03-20-2013
My Device: Playbook
My Carrier: Nope

Re: Flash Player stops playing in backgrounded app

on playbook you can change the application behaviour in general settings that if it's in background it goes into some kind of hibernated phase, or not. Not sure about bb10

Retired
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: Flash Player stops playing in backgrounded app

We wrote a WebWorks extension for Tablet OS to try and keep the backlight on 

https://github.com/blackberry/WebWorks-Community-APIs/tree/master/Tablet/sleep

 

but discovered a bug which was never fixed

https://github.com/blackberry/WebWorks-Community-APIs/issues/51

 

The community did make some progress with a workaround that involved playing a hidden <video> element to force the backlight extension on. I've been trying to find that workaround for 15 mins now but am not having luck!

 

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
Regular Contributor
Posts: 77
Registered: ‎06-02-2012
My Device: Playbook, BB10
My Carrier: Orange

Re: Flash Player stops playing in backgrounded app

In the end I don't need it anymore, but I don't think the same workaround would apply for the BB10 as it did for PlayBook. I used that hack, some time ago and it worked fine, by the way Smiley Happy

Thanks for the effort, Adam!

Developer
Posts: 1,230
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C
My Carrier: 3, Orange, Vodafone

Re: Flash Player stops playing in backgrounded app

Actually there's a published extension to stop the device sleeping on BB10

 

Tim called it PreventSleep as I recall




Click the like button if you find my posts useful!