• Resolved pikamander2

    (@pikamander2)


    I want to upload a .webm video header but WordPress won’t let me. It says that my file has to be a .mp4 or .mov file instead.

    My video header is 36.5MB as an MP4 file and 7.88MB as a webm file, making webm the clear choice for browsers that support it. Chrome and Firefox both support WebM files and Edge at least has some partial support.

    And even if the browser doesn’t support it, HTML supports the use of multiple video sources to allow for a fallback to a supported video format. WordPress should allow this as well.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    What is the exact error message? Because WordPress does support the webm video format.

    Thread Starter pikamander2

    (@pikamander2)

    The error message is:

    Only .mp4 or .mov files may be used for header video. Please convert your video file and try again, or, upload your video to YouTube and link it with the option below.

    The validation is being done by _validate_header_video:

    The reasoning, according to the comment in that function, is that MP4 and MOV are the only cross-browser-supported formats. While it’s true that they have greater support, the majority of users can currently view WebM videos as well. If nothing else, they should be allowed with a warning.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Sounds legit. I went and looked and there’s a core ticket for this issue. You can follow progress there, or help out if you want to do so.

    https://core.trac.www.ads-software.com/ticket/39614

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Feature Request: Allow .webm files for video headers’ is closed to new replies.