4 ms·
if it is shorter than 45 sec the pip option doesn't appear most gifs aren't that long so video can still be a replacement
by Zekio 3y ago
if it is shorter than 45 sec the pip option doesn't appear most gifs aren't that long so video can still be a replacement
- andrewstuart 3y agoThe video component does not always know how long a video is.
- coder543 3y agoIt sounds like you've identified the actual problem you need to fix. Why shouldn't the browser know how long a couple of short video files are? Also, if the video files don't have an audio track, you shouldn't get a PIP control. Why do these GIF-replacement videos have an audio track? I believe (but have not tested) that adding the `muted` attribute to the `<video>` element will have the same effect as removing the audio track from the video files themselves.