[wp-trac] [WordPress Trac] #51929: Video links on Attachment pages
WordPress Trac
noreply at wordpress.org
Tue Jun 3 23:11:18 UTC 2025
#51929: Video links on Attachment pages
-------------------------------------------------+-------------------------
Reporter: ravipatel | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future
| Release
Component: Media | Version: 5.6
Severity: normal | Resolution:
Keywords: has-patch dev-feedback has-test- | Focuses: ui, css
info |
-------------------------------------------------+-------------------------
Changes (by SirLouen):
* keywords: has-patch needs-testing => has-patch dev-feedback has-test-
info
Comment:
== Test Report
=== Description
🟠 This report partially validates that the indicated patch works as
expected.
Patch tested:
https://core.trac.wordpress.org/attachment/ticket/51929/51929.diff
=== Environment
- WordPress: 6.9-alpha-60093-src
- PHP: 8.2.28
- Server: nginx/1.27.5
- Database: mysqli (Server: 8.4.5 / Client: mysqlnd 8.2.28)
- Browser: Chrome 137.0.0.0
- OS: Windows 10/11
- Theme: Twenty Twenty 2.9
- MU Plugins: None activated
- Plugins:
* Test Reports 1.2.0
=== Testing Instructions
1. First enable attachment pages in `/wp-admin/options.php` >
`wp_attachment_pages_enabled`
2. Add a video. It has to be an unsupported video file
[https://filesamples.com/samples/video/mov/sample_1280x720_surfing_with_audio.mov
like a MOV file].
3. Go to Media Library and set the GRID VIEW (yes, this is something that
always blows my mind and wastes 15 minutes of my life)
4. Click in the video > View Attachment Page. This is technically the same
as just editing the video and clicking on the Permalink, but for some
reason some people like using the "View Attachment Page" route
5. 🐞 No video appears but a link, and it's not centered (Using my setup,
2020 theme, have not tested all themes)
=== Expected Results
1. 🟠 For the OP, he was expecting MOV to show up despite being a
unsupported video format
2. There is another issue, the centering that has to be solved.
=== Actual Results
1. 🟠 Unsupported video file showing is not solved
2. ✅ Centering resolved with patch.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51929#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list