guardian / guardian/iframe-messenger

Video elements without specified height getting cropped on load

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
57
Forks
8
PR merge metrics
No merged PRs in 30d

Description

The auto-resize does no trigger when a video without a specified height is loaded and resizes.

Listen to video (and other?) element load events and trigger a resize.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the auto-resize logic described in the issue and trace how loaded elements trigger resizing. Check video load behavior, then verify that videos without a specified height are no longer cropped when they load and resize.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.