• Hello everyone,
    I have a small site with the latest WordPress.

    We want to serve a 1 minute video, in .mp4 format.
    This has been very confusing because there is a “supported video table” for different video formats, intercorssed with different web browsers.

    Some formats Chrome and Safari support, and FireFox supports a different one.
    Yet there are some that are support accross others, yet not on one of them.
    This is crazy.

    Truth be told: I have had good performance (re: play/notplay) with .mp4
    It plays on Chrome and Firefox.

    Here is the problem:
    Chrome plays the video 100% of the time.
    Yet Firefox is iffy.

    Firefox usually plays the video on the first page loading, yet if you re-load the page, it will give you an error “File is corrupt”.

    If you reload the page 3, 4 or 5 times, it will start playing again.

    Any idea what the problem could be?

    ===============
    I tried to serve two videos, one .mp4 and one .webm
    My problem is that the source video is h264.
    Wrapping one minute h264 video into .mp4 with MP4Box (on linux) takes about 3-4 seconds.
    Yet wrapping that same one minute h264 into .webm takes about one hour.

    Any idea if I can improve this somehow?

    Thank you everyone!!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator James Huff

    (@macmanx)

    Firefox supports h.264 MP4s on all platforms as of version 35, so that format is the safe bet if you want to reach most browsers.

    As for the problem itself, can you give us a link to the post or page with the problem video?

    Thread Starter knucleheads

    (@knucleheads)

    Hello James,
    Thank you for your reply!

    On this link below, you will see on top a jpg “carousel”… yet below, you will see a video (in .mp4) using the integrated player.

    That is the type of video that is giving me problems.
    Most times it loads and plays fine… yet sometimes it shows “.mp4 File is Corrupted” (or a similar error… I will screenshot it next time it shows to me.

    Here is the link:
    http://www.como esta eso.com /surf-cameras/la-ocho-live-surf-cam/

    Thank you!

    Moderator James Huff

    (@macmanx)

    The video seem to be fine for me in Chrome, Safari, and Firefox.

    Do you ever change the video file, or is it always the same even though it sometimes randomly fails for you?

    Thread Starter knucleheads

    (@knucleheads)

    James,
    Yes!
    The video changes every 15 minutes.
    A new video, with the same name, gets uploaded every 15 minutes.

    Is it possible to do a “no cache” on this video?
    Or… what do you think?

    Thank you!

    Moderator James Huff

    (@macmanx)

    That would depend on what you’re using for your caching service.

    As for the video, it sounds more likely that whatever produces the video is just randomly producing invalid MP4 files.

    Thread Starter knucleheads

    (@knucleheads)

    Hello,
    I have kept on working on this.

    There is an error that comes up randomly.
    It shows:
    Video format or MIME type not supported.

    This error appears in the “video window” of the page.

    Oddly enough, if immediately after this error, you point your browser to the direct address:
    http://www.example.com/sub/directory/video.mp4
    The browser will download the video perfectly.

    Not sure… what or why?

    Moderator James Huff

    (@macmanx)

    Interesting, the browser should play the file, not download it, when viewed directly. Try it when you have a video that works.

    It still sounds like the software generating the video is randomly kicking out corrupt files.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘.mp4 Integrated Player html5’ is closed to new replies.