voctoweb
voctoweb copied to clipboard
preview image overlapps with rest of the page
eg https://media.ccc.de/v/19C3-448-zero-tool-hacking
More recent preview images are created the same size as the video and the problem has therefore not shown before. Maybe setting w,h should fix this.
Could only reproduce it, when the media file is not present (uploading not finished yet, comment out recordings in the template to reproduce it)
The visual problem is in the widescreen kiosk display of the player in combination with it's "cannotdisplay" handling and absolute positioning.
Got a solution now for the widescreen versions where there are media queries used and I can reuse the values. Still need a solution for the the "natural" scaling one. Maybe javascript ...
https://github.com/dedeibel/voctoweb/tree/bug-237-overlapping-preview-image