fix : video has extra black height above and below#569
fix : video has extra black height above and below#569BaskarMitrah wants to merge 2 commits intostagefrom
Conversation
❌ Test ResultsStatus: Some tests failed! 🔍 Click to view failed testsTest Coverage ReportOverall Coverage Summary
Coverage by File/Directory
Coverage report generated at 2026-03-25T07:11:28.867Z |
There was a problem hiding this comment.
Video looks good on the test page. Concerned the CSS rule targets all non-YouTube iframes though - forcing 16:9 globally could break non-video embeds (docs, forms) or videos that aren't 16:9.
A safer approach would be to only apply the aspect ratio when no explicit height is set, or scope it to a video variant class. Can you also test a YouTube iframe and a non-video embed to confirm they're unaffected?
❌ Test ResultsStatus: Some tests failed! 🔍 Click to view failed testsTest Coverage ReportOverall Coverage Summary
Coverage by File/Directory
Coverage report generated at 2026-03-26T06:07:29.723Z |
melissag-ensemble
left a comment
There was a problem hiding this comment.
I think we should close this PR - the issue is with the content, not the iframe block. The markdown is using a raw <iframe> tag which doesn't go through the block decorator, so the CSS changes here won't apply.
The fix is to use the embed block instead, which already handles MP4s correctly.
Description
Video has extra black height above and below
https://developer-stage.adobe.com/express/add-ons/docs/guides/build/advanced-topics/frameworks-libraries-bundling#typescript-definitions
Jira
https://jira.corp.adobe.com/browse/DEVSITE-2303
Test URL
Previous: https://developer-stage.adobe.com/express/add-ons/docs/guides/build/advanced-topics/frameworks-libraries-bundling#typescript-definitions
Update : https://iframe-blank-issue--adp-devsite-stage--adobedocs.aem.page/express/add-ons/docs/guides/build/advanced-topics/frameworks-libraries-bundling#typescript-definitions
Screenshot
Previous :

Update :
