06-16-2010 07:57 PM
I need to be able to launch the web browser for some external urls, and after a pretty depressing read on the issues of web video playback, I wonder if I can launch the Media player with a http://...mp4 url as well.
Any ideas on how to proceed?
06-17-2010 09:28 AM
I believe if you set the location.href of your widget to the URL of an MP3 file it will automatically launch in the Media Player
06-17-2010 08:22 PM
Is it possible to launch the mediaplayer from inside the widget? maybe using the
var args = new blackberry.invoke.JavaArguments(<MEDIAPLAYER>);
A, args); // Java
As an alternative, would starting the web browser and passing the url of a h.264 video file make the web browser itself delegate to the media player?
06-17-2010 09:02 PM
Invoking the browser will accomplish what you are looking to do:
var args = new blackberry.invoke.BrowserArguments('http://myurl')
; blackberry.invoke.invoke(blackberry.invoke.APP_BRO WSER, args);
06-17-2010 09:54 PM
I tried that, and I get a HTTP Error 413: Request entity too large...
It looks like it's just trying to download the entire file (11MB?!?) and failing. Video is