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
Highlighted
New Contributor
Posts: 4
Registered: ‎11-14-2012
My Device: BlackBerry Bold 9790
My Carrier: Rogers
Accepted Solution

Cascades WebView and embedded Youtube videos

[ Edited ]

Hello,

 

I created a simple application in Cascades using the latest Beta 4, which contains 1 tab that contains a webview.


The webview loads an html file that uses the Youtube Javascript API to load and play a video.

 

When I start the app, everything looks fine and the Youtube player is present and loads the video's title. However, after it tries to load the video it displays this message inside it

 

"The video is currently unavailable"

 

I am positive my javascript is correct (I can open the same html file in my browser and it works fine). The video is certainly available as well.

 

Any ideas why this is happening?

 

Thanks,

Imad

Developer
Posts: 206
Registered: ‎05-15-2012
My Device: None
My Carrier: Telus

Re: Cascades WebView and embedded Youtube videos

The cascades WebView does not support playing videos. I've created a bug for the issue, you can vote for 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!
New Developer
Posts: 21
Registered: ‎12-02-2012
My Device: BB10 Alpha Dev B
My Carrier: TrueMove-H

Re: Cascades WebView and embedded Youtube videos

thanks for acknowledgement Smiley Very Happy
Developer
Posts: 206
Registered: ‎05-15-2012
My Device: None
My Carrier: Telus

Re: Cascades WebView and embedded Youtube videos

Using 10.1.0.273 on a Z10 you can play YouTube videos in a Cascades WebView. The same is true on a Dev Alpha C running 10.1.0.1485.

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

And of course, like my post if you found it helpful or informative!