Topic: [Bug/Fixed] "Reduced Samples"-setting tries to display image in video HTML-tag

Posted under Site Bug Reports & Feature Requests

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?

Errors or other messages returned (if any).
None, i.e. silent error.

Updated by KiraNoot

I just put in a fix for this. It came up while testing things on e9, as there are plans to turn on reduced samples by default. It should come out... soonish, along with the rest of the stuff over on e9 right now.

Updated by anonymous

I hope it will be fixed soon...
And I thought it was a bug introduced in the new Opera beta I'm using that has updated today... Even sent a bug report to the devs... They will be surprised by the attached link, I guess...

Updated by anonymous

eliotcougar said:
I hope it will be fixed soon...
And I thought it was a bug introduced in the new Opera beta I'm using that has updated today... Even sent a bug report to the devs... They will be surprised by the attached link, I guess...

post #1037853

Updated by anonymous

This should now be fixed. Sorry for the long wait on this.

Updated by anonymous

  • 1