sampotts / plyr

A simple HTML5, YouTube and Vimeo player
https://plyr.io
MIT License
26.38k stars 2.92k forks source link

Preview thumbnail is not resized when player is resized #2047

Open Isolus opened 3 years ago

Isolus commented 3 years ago

Expected behaviour

The preview thumbnail which is displayed while scrubbing is resized on change of player size.

Actual behaviour

The preview thumbnail doesn't change it's size. Screenshot_2020-12-12_23-29-10

Steps to reproduce

Pause the video, scrub to an arbitrary position and press fullscreen.

Environment

Link to where the bug is happening

e. g. https://plyr.io/

sampotts commented 3 years ago

I'm struggling to reproduce this one. For me on Chrome 87 and Firefox 85, the thumbnails are full height and width.

Isolus commented 3 years ago

I'm not sure what happens. I have a blurry upscaled preview image after pausing and then moving the slider. Sometimes it disappears very fast and the video looks crisp, sometimes the blurry thumbnail stays. If it is still there on a window resize, the bug occurs. It seems that the blurry image stays if I go to a complete new part of the video. If I have viewed a part close to the new position already, the error/the blurry preview image is not as likely to occur.

mayeaux commented 3 years ago

I'm not sure what happens. I have a blurry upscaled preview image after pausing and then moving the slider. Sometimes it disappears very fast and the video looks crisp, sometimes the blurry thumbnail stays. If it is still there on a window resize, the bug occurs. It seems that the blurry image stays if I go to a complete new part of the video. If I have viewed a part close to the new position already, the error/the blurry preview image is not as likely to occur.

I think I am running into the same thing, I will be able to push up an example.