Make WordPress Core

Opened 4 weeks ago

Last modified 2 weeks ago

#64105 new defect (bug)

TinyMCE in classic editor does not support modern video formats

Reported by: blackstar1991's profile blackstar1991 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.8.3
Component: General Keywords: needs-patch
Focuses: ui, javascript Cc:

Description

https://i.ibb.co/Sw1793Xr/1m.jpg
https://i.ibb.co/35vKpfjh/2m.jpg
WP does not support webp, avi formats for the classic editor. Can someone help and make them uwaliable like in Block Templates ?

Change History (3)

#1 @nabilaminhridoy
4 weeks ago

  • Focuses javascript added
  • Keywords needs-patch added
  • Version set to 6.8.3

Hi there 👋

I’ve reproduced this issue on WordPress 6.8.3 with the Classic Editor plugin (v1.6.3).

When inserting .webm or .avi video files through the Classic Editor (TinyMCE), they are not recognized or previewed properly. In contrast, the Block Editor supports these formats without any issue.

This indicates that the core media handler supports modern formats, but TinyMCE’s configuration or the allowed MIME types for the Classic Editor are limited to older formats (mp4, m4v, ogv, mov, wmv).

Possible fix direction:
Add support for additional MIME types in TinyMCE initialization or extend wp_get_mime_types() for Classic Editor to include:

  • video/webm.webm
  • video/x-msvideo.avi

I tested this on WP 6.8.3 and can confirm the issue still exists.
Happy to help test a patch if someone is working on this.

@nabilaminhridoy

Last edited 4 weeks ago by nabilaminhridoy (previous) (diff)

This ticket was mentioned in Slack in #core by amykamala. View the logs.


4 weeks ago

#3 @joedolson
2 weeks ago

  • Focuses accessibility removed
Note: See TracTickets for help on using tickets.