Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
11-07-2012 11:22 AM
11-07-2012 11:24 AM - edited 11-07-2012 11:28 AM
As I said I able to play Streaming video if there is no special/space character in the URL.
For special/space is used the below code;
QUrl url = QUrl::fromEncoded("http://mydomain.com/new%20video/sample.wmv"); cardrequest.setUri(url);
But its not working :-( get the same Error 13
Though the error comes while trying to play the file in the default media player, but I am play huge file if there is not space in the url, also if I put the same file in a location where there is no space in the url then it plays perfect,
11-08-2012 03:54 AM
Yes, the MediaError list says that its OutOfMemoryError , but when I put the video file in an other remote location which doesn't have any space(%20) in the video link then its wokring perfect.
11-08-2012 06:06 AM
The media player not being able to play remote URLs with spaces is actually a bug. A possible workaround for this is to put the link in a playlist .m3u file on your device and use that instead. Works for both videos and music, but it would be nice if they fixed this anyways.
11-16-2012 06:16 AM
Yes, the Qt MediaPlayer API currently has a few big bugs:
1) URLs with spaces don't play properly
2) .m3u URLs may not work properly
I have already escalated both of these issues internally - trying to get the solution in for the next SDK update(s).
Also, the simulator, Unfortunately, has very limited supported on multimedia playback at the moment. This is due to the fact that the simulator doesn't have enough decoders (proprietory reasons). Feel free to open up a feature request through JIRA : https://www.blackberry.com/jira/secure/Dashboard.j
11-16-2012 06:33 AM
@somnathbanik (and everyone else in thread)
Just like the Qt MediaPlayer API, the Media previewer also has some bugs right now with respect to URLs with spaces. And your URL seems to have spaces (encoded).
QUrl url = QUrl::fromEncoded("http://mydomain.com/new%20video/sample.wmv");
While we try to get all these fixes in (in the next SDK releases - I have already escalated the following issues), these are my own testing results.
I am sharing it here so that everyone knows what works and what doesnt;
These are the known results for the media previewer (paths with spaces):
"/accounts/1000/shared/music/My Track.mp3" <-- works
"file:///accounts/1000/shared/music/My Track.mp3" <-- works
"file:///accounts/1000/shared/music/My%20Track.mp3" <-- works
For the Qt MediaPlayer API:
// local file with spaces
sourceUrl: "/accounts/1000/shared/music/name with spaces.mp3" <-- Works
// local file with %20, instead of spaces
// URL with spaces
sourceUrl: http://www.stephaniequinn.com/Music/Allegro from Duet in C Major.mp3 <-- Doesn’t Work in both the MediaPlayer API and mm-renderer API (if I directly use the C mm-renderer API in a native app)
// URL with %20 instead of spaces
.(works in a native app with mm-renderer API C API but DOESN’T work with Qt MediaPlayer API)
12-06-2012 01:42 PM