Video preview not working
I attached an MP4 file to a comment on a MR, and it shows up like:
Steps to reproduce
(How one can reproduce the issue - this is very important)
(If possible, please create an example project here on GitLab.com that exhibits the problematic behavior, and link to it here in the bug report)
(If you are using an older version of GitLab, this will also determine whether the bug is fixed in a more recent version)
What is the current bug behavior?
The HTML for it is:
<a class="no-attachment-icon" href="https://gitlab.com/<redacted>/ScreenRecording_06-06-2019_12-14-17.MP4" target="_blank" rel="noopener noreferrer"> <img src="https://gitlab.com/<redacted>/ScreenRecording_06-06-2019_12-14-17.MP4" alt="ScreenRecording_06-06-2019_12-14-17" class="js-lazy-loaded qa-js-lazy-loaded"> </a>
What is the expected correct behavior?
src of the
img tag should not be pointing to a video, I think.
Output of checks
This bug happens on GitLab.com