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

Native Development

Reply
Developer
tanphat1412
Posts: 125
Registered: ‎11-06-2012
My Device: BlackBerry

Issue with playing video in webview

I'm building a webview to play video in some website like: youtube, dailymotion,... The problem is when I press play button, it shows "Media Error: This media file is of an unsupported type or could not be loaded. It can not be played."

Please help me with this problem.

Thanks.

Developer
Brennan12325
Posts: 205
Registered: ‎05-15-2012
My Device: None

Re: Issue with playing video in webview

Are you using the simulator? The simulator does not support video playback:

 
180909

While the simulator supports audio, it does not support video editing, playback, video recording or local playback of any streaming service.

 

https://developer.blackberry.com/develop/simulator/releasenotes.html

----------------------
Check out my app, Alien Flow for reddit

And of course, like my post if you found it helpful or informative!
Developer
tanphat1412
Posts: 125
Registered: ‎11-06-2012
My Device: BlackBerry

Re: Issue with playing video in webview

Nope. I'm using dev alpha.

Developer
Paratheo
Posts: 134
Registered: ‎04-25-2009
My Device: Z30

Re: Issue with playing video in webview

I have this same problem
Developer
Brennan12325
Posts: 205
Registered: ‎05-15-2012
My Device: None

Re: Issue with playing video in webview

Cascades doesn't support video playback in a web view at this time :/
----------------------
Check out my app, Alien Flow for reddit

And of course, like my post if you found it helpful or informative!
Developer
Paratheo
Posts: 134
Registered: ‎04-25-2009
My Device: Z30

Re: Issue with playing video in webview

Wow this is exremely dissapointing. Will be huge pain for users to have to open browser just to watch video, instead of within the app.

 

Hope this gets fixed pronto.

Developer
Brennan12325
Posts: 205
Registered: ‎05-15-2012
My Device: None

Re: Issue with playing video in webview

I created an issue for this in the jira issue tracker, vote on it here: https://www.blackberry.com/jira/browse/BBTEN-1003

----------------------
Check out my app, Alien Flow for reddit

And of course, like my post if you found it helpful or informative!
Developer
wmatt
Posts: 125
Registered: ‎10-02-2011
My Device: Playbook

Re: Issue with playing video in webview

[ Edited ]

This is very dissapointing. The AIR SDK supports video and flash in QNXStageWebView, so I just assumed it would work in Cascades too.