diced / zipline

A ShareX/file upload server that is easy to use, packed with features, and with an easy setup!
https://zipline.diced.sh/
MIT License
1.31k stars 128 forks source link

Bug: video embed larger than the viewport when embeds are enabled #523

Closed wraithy closed 8 months ago

wraithy commented 8 months ago

What happened?

image

Adding the following CSS fixes the issue (will probably need a class/id to avoid affecting other video elements)

video {
    max-width: 100vw;
    max-height: 100vh;
}

Version

latest (ghcr.io/diced/zipline or ghcr.io/diced/zipline:latest)

What browser(s) are you seeing the problem on?

Chromium-based (Chrome, Edge, Brave, Opera, mobile chrome/chromium based, etc)

Zipline Logs

No response

Browser Logs

No response

Additional Info

No response

diced commented 8 months ago

fixed https://github.com/diced/zipline/commit/bd8d4e33fd21df635bf198052be58e9222fc4df6