[wp-trac] [WordPress Trac] #64693: Video Block: Unexpected Behavior with Supported and Unsupported Formats

WordPress Trac noreply at wordpress.org
Sun Feb 22 16:23:57 UTC 2026


#64693: Video Block: Unexpected Behavior with Supported and Unsupported Formats
---------------------------+------------------------------
 Reporter:  blackstar1991  |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Media          |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:  docs
---------------------------+------------------------------
Changes (by swissspidy):

 * focuses:  tests, docs => docs
 * component:  General => Media


Comment:

 > Is it possible to restrict uploads in WordPress so that only fully
 supported video formats are allowed?

 There are several filters that allow you to modify which mime types are
 allowed to be uploaded, for example the `upload_mimes` filter.

 > Is there an official way to validate which video formats are fully
 supported and guaranteed to work correctly with the Video Block?

 It's not about what the video block supports. That just renders a
 `<video>` element on the web page. It's about what formats/codecs your
 browser supports. Browser support can vary quite a bit for various reasons
 such as licensing.

 For example, `mov` is typically only supported in Safari. Other browsers
 can play it too, depending on what codec the video actually uses under the
 hood. That's why `mov` is generally not recommended for web-safe usage.

 > Is the documentation outdated, or has format support changed in recent
 versions?

 A recent change here is that for example Chrome dropped support for the
 Theora codec (i.e, `.ogv`), see
 https://chromestatus.com/feature/5158654475239424.

 But yes, I'd say the documentation there needs some
 updating/clarification.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64693#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list