How to determine if a guest web browser supports html5 <video>

I am currently deploying a video platform. Videos are currently listed using the JWPlayer plugin integration. I would like to set the default <video>html5 tag only if the guest web browser supports it. How can I check if .flv (encoded video format) is supported by a <video>guest web browser tag ?

Should I implement a javascript function?

+3
source share
1 answer
Tags

<video>allow content between tags. Only if the browser does not support<video> , the content will be displayed on the page.

<video> 
    <source ogg>
    <source mp4>
    <embed flv /> <!-- embed only rendered if video not supported-->
</video>
+3
source

All Articles