You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

cjscheller's avatar
cjscheller
Explorer | Level 3
2 years ago

RAW=1 does not work for videos in Firefox

Hello,

 

I am attempting to share an MP4 video by removing `dl=0` from the share link and adding `raw=1` instead. I use this share link to load an HTML5 video element on a website. This works as expected on Chromium and Safari, but on Firefox I receive the error message "No video with supported format and MIME type found" and the video is unplayable (see photo).

 

 

This appears to be due to the fact that the Dropbox share links (both https://dl.dropboxusercontent.com/sh/XXXX?raw=1 and

https://www.dropbox.com/sh/XXXX?raw=1) are returning a MIME/content type of "application/json" rather than the expected "video/mp4".
 
Any tips on how to return the correct content type or get the raw video working on Firefox?
 
Thanks