nealrs nealrs - 1 year ago 84
HTML Question

Can i use a svg as the poster for html 5 video?

I'm building a streaming video experience (web based, not native) for desktop & mobile.


element supports a thumbnail / poster image (if omitted, it uses the first frame of video. Since I can't use
src set
or whatever to ensure a reasonably sized image is used, can I use an svg instead (assuming appropriate aspect ratio)?

Answer Source

<video controls width="640" height="480" poster="">
    <source src="">

I believe that this configuration does work.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download