02-28-2010 11:17 AM
Here is an example of the kind of HTML I am using that doesn't work. Note: I've tried MANY variations on this HTML, as well as MANY variations on the video file type, and I can't get any of them to work. Sometimes it fails with the errors messages shown above in this thread, sometimes it just fails to play the video and sits there silently....
<link rel="stylesheet" href="http://test.example.com/assets/css/mobile.css" type="text/css" media="handheld,all" />
<object height="288" width="352"
- I have tried this both with and without a DOCTYPE line - neither works
- For some strange reason RIM's documentation about the <OBJECT /> tags seems to indicate that the units should be included with the height and width attributes (e.g. height="288px"), which is not standard HTML5. Anyway, I've tried both variations and neither one works
- When I test the above page in other (non-BlackBerry) browsers, it works
Please feel free to post an HTML code sample that is known to work on BlackBerry.....
02-28-2010 11:49 AM - edited 02-28-2010 11:51 AM
Regarding the different behavior between the "Blackberry Browser" and the "Internet Browser", if you use the following HTML for both of them:
<object height="288" width="352"
type="video/3gpp">browser does not support object tag</object>
(note alternative text in the body of the OBJECT tag):
- The "Blackberry Browser" always immediately displays the alternative text ("browser does not support object tag"), which leads me to believe that the "BlackBerry Browser" doesn't support the OBJECT tag, at least the way it's used above.
- The "Internet Browser" attempts to load and play the video, fails with the error messages shown above in this thread, and prompts the user to downoad the file and play it from local storage.
As always, please feel free to post a snippet of HTML that disproves the hypothesis that the "BlackBerry Browser" does not support the OBJECT tag.
02-28-2010 06:16 PM
Thanks for the clarification. I'll have to rethink my process now and figure out what I would like to do.
Your information is greatly appreciated!
03-02-2010 09:05 AM
No problem, iamtony.
Hopefully RIM will provide us with a solution, or at least some answers, soon.
One of the things that I find the most frustrating about this is that I know the Blackberry media player can play my video files from local storage. I also know that it can play videos streamed to it over the network via RTSP.
The fact that the Blackberry browser cannot use the native media player as a helper to play videos sourced directly from the internet over HTTP is just amazing to me. There must be something about the media player that prevents it from doing this...
03-02-2010 09:13 AM
As an update... we also now have our media development team looking into your issue as well
Hopefully we will have some answers for you soon.
03-05-2010 03:16 PM
From an investigation by the Media development team, it unfortunately looks like a bug that has since been fixed in newer builds of the 5.0 operating systems.
I will try and dig further to find out which publicly released version of the 5.0 operating system contains this fix.
03-06-2010 09:03 PM
I'm running v126.96.36.1998 (Platform 188.8.131.52), which I believe is the latest publically available release (as of today, Mar-06-2010).