frosty frosty - 1 year ago 77
HTML Question

Imgur gifv file doesn't load as expected using video tag

<video width="320" height="240" controls>
<source src="" type="video/webm">
Your browser does not support the video tag.

This doesn't seem to load the video. I assume the
is messing it up somehow when it needs to use
. When I change it to
, it still doesn't load. Is there any way to embed a

Answer Source

Iframe method:

<iframe src="" width="200" height="220" scrolling="no" style="border:none;"></iframe>

HTML video method using webm:

<video preload="auto" autoplay="autoplay" loop="loop" style="width: 200px; height: 200px;">
    <source src="//" type="video/webm"></source>

I changed the source extension from .gifv to .webm, removed the controls tag, set preload to auto, added autoplay, and added loop.