nextcloud / nextcloud/viewer

Vertical video aspect ratio wrong in public view

Open
#1,831 16 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug feature: player
Dominant language
JavaScript
Stars
119
Forks
72
Avg merge
18h 42m
Merged PRs (30d)
24

Description

Steps to reproduce
  1. Upload video with 9:16 aspect ratio
  2. Share video, hide download and copy public link
  3. Open shared link in new tab
Expected behavior

Video should be displayed in correct aspect ratio.

Actual behavior

Video gets displayed very large/zoomed in and you have to scroll to view the full video

Host OS

Ubuntu 22.04.2 LTS

Nextcloud AIO version

27.0.1

Current channel

Stable

Other valuable info

Only happend after upgrading from 27.0.0 to 27.0.1. In 27.0.0 everything works as expected.

Example file: https://cloud.philippjeschek.com/s/XgYj95qRCntm59d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with a 9:16 video through a shared public link, comparing the behavior in versions 27.0.0 and 27.0.1. Inspect the public-view video layout; done means the full vertical video displays at its correct aspect ratio without zooming or requiring scrolling.

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
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.