05-06-2009 05:07 AM
Hi all and thank you in advance for reading,
We have developed a Blackberry version of our website (It's just skinned really and CSS sized)
On the site are quite a few videos in MP4 format. When the user clicks the link the Blackberry (in our test case the Storm 9530) downloads the MP4 - is there anyway to make the device automatically start playing the MP4 rather than download?
Unfortunately in this case we cannot stream the video.
Many thanks,
Eggsy![]()
05-09-2009 02:16 PM
05-11-2009 04:16 AM
Hi there
Thank you for the reply!
It is a java web app and in the web.xml we have a MIME mapping of the following:
<mime-mapping>
<extension>mp4</extension>
<mime-type>video/mp4</mime-type>
</mime-mapping>
05-11-2009 05:52 AM
05-20-2009 06:32 AM
After a bit more investigation it seems that the following is happening:
The browser requests the file and decides that it doesn't know how to handle the content type so stops the connection and thus I hit a broken pipe exception (perfectly fine) but does initialise the Blackberry Media player which does know how the MIME type.
The unusual thing is that the Media player also hits a broken pipe exception?
Does anyone know if the Blackberry Media players makes requests for files in parts so requires ETag and Byte Range headers (similarly to the iPhone)? Or does it always request the whole file?
Somewhat of a complex question I know.