Forum Discussion

dilonpanda's avatar
dilonpanda
New member | Level 2
3 years ago

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]

16 Replies

Replies have been turned off for this discussion
  • dilonpanda's avatar
    dilonpanda
    New member | Level 2
    3 years ago

    I just need to show a video which stored in dropbox in my webpage built with html

  • Rich's avatar
    Rich
    Icon for Super User II rankSuper User II
    3 years ago

    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.

  • Jay's avatar
    Jay
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    3 years ago

    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.

  • Rich's avatar
    Rich
    Icon for Super User II rankSuper User II
    3 years ago

    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

Node avatar for 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!