Bug overview description.
When using the Reduced Sample setting, WebM posts tries to display a sample image, but it is doing it in the <video>-tag, which, unsurprisingly, does not work.
What part(s) of the site page(s) are affected?
/post/show/
What is the expected behavior?
I personally see no point in trying to display a video as an image snapshot, this only make sense for images, it is also confusing and can easily give the impression that a video file is instead an image unless somehow very clearly emphasized (which it isn't at the moment). The proper alternative to image samples would be to encode all videos to have a smaller sample size, like for standard images, but would of course consume substantial server resources.
But otherwise, I guess the expected behavior is to have the sample image displayed using the <img> tag, and properly swapped to a <video>-tag when showing the original WebM.
What actual behavior is given instead?
A video with invalid/empty source, i.e. trying to show the sample image as a video.
Time of incident (if applicable).
Detected now, introduced recently (max 1 week earlier?)
Can you reproduce the bug every time?
Yes
What steps did you take to replicate this bug?
- Go to "My Account"->Settings
- Set your "Image Resize Mode" to "Show reduced samples"
- Save
- Visit any(?) WebM post
Errors or other messages returned (if any).
None, i.e. silent error.
Updated by KiraNoot