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]
If you guys can point me to the correct solution that would be great! Thanks a lot!
Hi @dilonpanda, thanks for bringing this to our attention.
Are you able to preview the video when you access the shared link directly, without adding it to your site?
This will help me to assist further!
Yep! It also worked like this previous but I don't know what happened!
also tried adding raw=1 in the end of the url and didn't worked too!
please help me soon as this is very urgent for me!
It's possible that the website or the link you created isn't formatted correctly, or the site is unable to parse the shared link URL.
So how do I show a video stored in dropbox in my website which I build with html?
This works :
But this doesn't works :
After briefly testing the two links, the first was a video, and the second was in fact a 3 second audio file with no video. Are you certain that the second link was supposed to have a video on it?
@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.
so how should I format?
I just need to show a video which stored in dropbox in my webpage built with html
@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.
the video format is mp4. does that not ok?
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.
@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.