Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added aspect ratio to the videos #2268

Merged
merged 2 commits into from
Dec 5, 2023

Conversation

ismailkarsli
Copy link
Contributor

@ismailkarsli ismailkarsli commented Dec 4, 2023

Description

Vertical videos are sometimes 2 times bigger than window height. This is very disturbing in terms of UX. I added 16x9 ratio, if there is no other overlooked reason, can you peep accept it?

Screenshots

Before

Screenshot 2023-12-05 at 00 23 10

After

Screenshot 2023-12-05 at 00 23 19

Apart from this issue

When watching videos in sequence, they all start muted, even we set a volume in previous video.
Do you think it makes sense to store the previous volume value in globalThis and use that value while in the same session?

Copy link
Member

@dessalines dessalines left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://getbootstrap.com/docs/5.0/helpers/ratio/

Seems fine as a kludge for now.

@dessalines
Copy link
Member

When watching videos in sequence, they all start muted, even we set a volume in previous video.
Do you think it makes sense to store the previous volume value in globalThis and use that value while in the same session?

I spose that'd be fine.

@dessalines dessalines merged commit 5784f9e into LemmyNet:main Dec 5, 2023
1 check passed
@ismailkarsli ismailkarsli deleted the video-aspect-ratio branch December 5, 2023 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants