Opened 11 months ago
Last modified 3 weeks ago
#64105 new defect (bug)
TinyMCE in classic editor does not support modern video formats
| Reported by: | blackstar1991 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | General | Version: | 6.8.3 |
| Severity: | normal | Keywords: | needs-patch has-test-info |
| Cc: | Focuses: | ui, javascript |
Attachments (2)
Change History (9)
#1
@
11 months ago
- Focuses javascript added
- Keywords needs-patch added
- Version → 6.8.3
This ticket was mentioned in Slack in #core by amykamala. View the logs.
11 months ago
#4
@
5 months ago
Reproduction Report
Description
This report validates whether the issue can be reproduced. The testing confirms that while .webm files now appear to function in the Classic Editor, .avi files remain unsupported for playback. However, the .avi failure is likely a browser-level limitation rather than a WordPress bug, as .avi is not a standard format for the HTML5 <video> tag across modern browsers.
Environment
- WordPress: 7.1-alpha-62161-src
- PHP: 8.3.30
- Server: nginx/1.29.7
- Database: mysqli (Server: 8.4.8 / Client: mysqlnd 8.3.30)
- Browser: Chrome 146.0.0.0
- OS: macOS
- Theme: Twenty Twenty-Five 1.4
- MU Plugins: None activated
- Plugins:
- Classic Editor 1.6.7
Actual Results
- ✅ Partial Reproduction: While
.webmfiles successfully upload and play back in both editors,.avifiles fail to render a preview or play back in both the Block Editor and Classic Editor. - ❌ Observation: The
.aviplayback issue appears to be a browser compatibility constraint. Most modern browsers do not support the AVI container within the native<video>element, leading to the reported "unsupported" behavior regardless of the editor used.
Additional Notes
- WebM: During testing,
.webmfiles worked as expected in the Classic Editor, suggesting that recent updates may have already addressed the MIME type registration for this specific format. - AVI: Since the Block Editor also fails to play
.avifiles, this is not a TinyMCE-specific issue but a general limitation of web-standard video playback. WordPress successfully handles the file upload, but the browser cannot render the stream.
#5
@
5 months ago
It would probably be worth prohibiting the uploading of .avi files into the body of documents if they cannot be played.
https://developer.mozilla.org/en-US/docs/Web/Media/Guides/Formats/Video_codecs
https://caniuse.com/?search=video+format
#6
@
3 weeks ago
- Keywords has-test-info added
Reproduction Report
Environment
- WordPress: 7.2-alpha-63166-src
- Subdirectory: No
- PHP: 8.3.33
- Server: nginx/1.31.3
- Database: mysqli (Server: 8.4.11 / Client: mysqlnd 8.3.33)
- Browser: Chrome 151.0.0.0
- OS: macOS
- Theme: Twenty Twenty-Five 1.5
- MU Plugins: None activated
- Plugins:
- Classic Editor 1.7.0
- Test Reports 1.3.1
Steps taken
- Activated Classic Editor and opened a new post.
- Uploaded and inserted a WebM video using Add Media.
- Confirmed that its player appeared and the video played.
- Uploaded and inserted an AVI video.
- Confirmed that AVI was inserted as a link rather than a video player.
- In the Block Editor, WebM played but AVI was unsupported by Chrome.
❌ Bug is not occurring
Expected behavior
- The ticket reports that WebM does not preview or play in Classic Editor. It worked correctly during testing.
- AVI is not supported by Chrome, so Classic Editor correctly inserts it as a link.
Additional Notes
- The description says
.webp, but comments refer to.webm; this test used WebM. - Preventing AVI selection in the Block Editor would be a separate enhancement.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)


Hi there 👋
I’ve tested this issue on the latest WordPress 6.8.3 with the Classic Editor plugin (v1.6.3) and can confirm that the problem still exists.
When trying to insert
.webpor.avifiles via the “Add Media” modal in TinyMCE, the files are not recognized or previewed correctly.Meanwhile, the Block Editor supports
.webpuploads and displays them as expected.This seems to be related to the allowed MIME types or TinyMCE’s media plugin configuration in the Classic Editor integration.
Steps to reproduce:
.webpor.avifile.Expected:
The Classic Editor should handle
.webpand modern video formats similar to the Block Editor.If needed, I can help test or submit a patch for this.
@nabilaminhridoy