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
Contributor
Posts: 28
Registered: ‎04-16-2013
My Device: Developer
My Carrier: Developer

Html5 video issue

when playing flash video from a remote address (eg youtube) playbook stays on, if i embed swf file locally playbook turns off (backlight & standby) even if video playing. Is it possible to keep playbook on when playing local swf files?

 

Retired
Posts: 856
Registered: ‎07-15-2008
My Device: Passport
My Carrier: Bell

Re: Html5 video issue

There is an extension that supports that:

 

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

Tim Windsor
Open Source Technical Lead
Highlighted
New Contributor
Posts: 5
Registered: ‎06-08-2013
My Device: bb10
My Carrier: Idea

Re: Html5 video issue

Hi All,

I have developed a html5 application and packaged it with the webworks package.

in the my application their is a video player , whcih plays in the browser. but in the packaged application. the device video player is comming up. even though the video is playing in app.

 

Can any body help me how to stop using device player.

Retired
Posts: 165
Registered: ‎09-24-2012
My Device: Passport
My Carrier: Bell

Re: Html5 video issue

PhaniKiranG,

 

If you are referring to the video automatically going into fullscreen (and providing it's own controls), add webkit-playsinline to the video tag, as such:

<video width="620" height="352" webkit-playsinline>
    <source src="./movie.mp4" type="video/mp4"/>
</video>

 This will prevent auto-full screen + device player controls.

 

 

New Contributor
Posts: 5
Registered: ‎06-08-2013
My Device: bb10
My Carrier: Idea

Re: Html5 video issue

Thanks for reply.
definitely ill try this one and will update the status.