We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
dilonpanda
3 years agoNew member | Level 2
A shared link to a video doesn't show on my website
I'm using this code in my webpage but the video stored in dropbox doesn't show. Previously it was to but now it's not.
[Removed as per Community Guidelines]
dilonpanda
3 years agoNew member | Level 2
So how do I show a video stored in dropbox in my website which I build with html?
Rich
Super User II
3 years ago
dilonpanda wrote:
So how do I show a video stored in dropbox in my website which I build with html?
This isn't a Dropbox issue. The two videos you linked use different codecs. The first uses H264 which most browsers support natively. The second is a Motion JPG file. Basically, the browser doesn't know how to play the file because it doesn't recognize the file type.
- dilonpanda3 years agoNew member | Level 2
so how should I format?
- dilonpanda3 years agoNew member | Level 2
I just need to show a video which stored in dropbox in my webpage built with html
- Rich3 years ago
Super User II
dilonpanda wrote:
I just need to show a video which stored in dropbox in my webpage built with html
You're likely doing it correctly but you're using a video format that the browser doesn't understand. Do some research on the Motion JPEG video format and how to display them in a browser, or convert the video to a format that's recognized natively by most browsers.
- dilonpanda3 years agoNew member | Level 2
the video format is mp4. does that not ok?
- Jay3 years ago
Dropbox Community Moderator
A video being in MP4 doesn't mean that it can automatically be opened in a browser. You'll need to ensure that the codec is something that can be played in browsers, meaning you'll need to re-encode the video.
- Rich3 years ago
Super User II
dilonpanda wrote:
the video format is mp4. does that not ok?
MP4 is just a container, not a video format, and the video within it can be one of many different formats. A codec is what's needed to be able to play a video of a given type. Do some research on the difference between a video container, video format and a codec and you'll understand it a bit better.
The first thing to remember is not to confuse MP4 (a container) with MPEG-4 (a video format). They're two separate things and a video with an MP4 extension does not mean it's an MPEG-4 video stream. Your working video is an MP4 container with an MPEG-4 (H264) video stream inside, but your non-working video is an MP4 container with a Motion JPEG stream inside, and your browser doesn't know how to play it.
About View, download, and export
Need support with viewing, downloading, and exporting files and folders from your Dropbox account? Find help from the Dropbox Community.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!