08-10-2011 01:12 PM
<script> location.href = 'url'
and I don't have had success, I would greatly appreciate your help
09-23-2011 05:40 AM
Did u get an output, I'm also in the same situation to integrate a video in webworks application. If you have one please post it...
04-07-2012 06:55 AM
The mobile youtube site uses rtsp. And in webworks we wont able to play an rtsp video within the application but possible to push it to the browser and showing it. In BBOS7 you can play http video within the application.
04-09-2012 08:27 AM
Here is a working example of how to embed a YouTube video in a WebWorks application:
Here is the snippet being used to display this video:
<object width="640" height="385" style="border: dotted 1px black"> <param name="movie" value="http://www.youtube.com/v/eAaez_4m9mQ?fs=1&hl=e
n_US"></param> <param name="allowscriptaccess" value="always"></param> <embed src="http://www.youtube.com/v/eAaez_4m9mQ?fs=1&hl=e n_US" type="application/x-shockwave-flash" allowscriptaccess="always" width="640" height="385"></embed> </object>
Reminder: you need to properly whitelist any external domains you will be accessing in your config.xml document.
08-07-2012 02:31 AM
Hello how should I to configure the access to youtube in the config.xml ? thanks
I would shuggest to use this one in the config.xml
<access subdomains="true" uri="*" />
since the video URL of youtube may be somehow different if you only use
<access subdomains="true" uri="http://www.youtube.com" />
but you may also give this a try. BTW: documentation for the access tag is here for some further reading.
12-14-2012 02:25 AM
Nothing seem to be working on BB10 webworks. Tried both <object as well as <iframe embed codes. I do have all urls allowed in config xml.
12-14-2012 09:02 AM
Make sure you are adding the right feature-tag to your config.xml like described in the documentation: