How can you show controls for html5 video element in IE11?

IE11 (probably 10 also) doesn't show the video controls until you hover over the video itself.

Personally, I find it completely useless, especially when you are using a poster element, because the user cannot know that the image is actually a video.

Is there a way to get "IE" to show controls like Chrome?

The code I use is:

<video width="100%" height="100%" poster="/content/files/images/Definition-of-Coaching.png" preload="metadata" controls>
        <source src="/Content/Files/Video/Definition-of-Coaching-SD.mp4" type="video/mp4">
        <source src="/content/files/video/Definition-of-Coaching-SD.webm" type="video/webm">
</video>

      

+3


source to share


1 answer


You need to add the control tag after the video tag declaration.

As shown in W3 schools:



W3 Schools -HTML 5 Video

If you remove the controls attribute, the controls will not appear in the video.

0


source







All Articles