ronilaukkarinen/mastodon-bird-ui

Video player fails to go full screen while placed too high on a timeline

meikae opened this issue · 0 comments

meikae commented

Steps to reproduce the problem

Find a post with the native video player. (e. g., search: ’has:video cat’) Scroll until the top of the video is outside of the viewport. Click video player button ’Full screen’.

Expected behaviour

The Video goes full screen.

Actual behaviour

The Video goes full screen and instantly closes.

Detailed description

If a video is at least partly under the header bar element on the ’Home’, ’Explore’ or ’Live-feed’ timelines, it may refuse to go full screen. (The amount how high the video has to be differs per video.)

This is inconvenient since after Mastodon v4.2.0 tall vertical videos are no longer cropped to 16:9 mastodon/mastodon#26132 and fullscreening a video may require resizing the viewport.

When viewing a single post with its replies, full screen works.

When testing this with ’has:video cats’ on 'Explore' it sometimes fixes itself.

Specifications

v4.2.0-beta3+nightly-2023-09-06~mementomori-social-mods + Mastodon Bird UI 1.7.5rc2-nightly
Win10 Firefox 117.0.1

actual_behaviour.mp4
expected_behaviour.mp4