I am using html video player. I want to show control bar always ..currently it shows on hover but i want it should be display always not only on hover.
Asked
Active
Viewed 2,991 times
0
-
see this answer https://stackoverflow.com/a/30856986/866439 – rrosa Mar 07 '22 at 20:22
1 Answers
-1
Include the controls attribute to the video player
<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>
For me adding the control tag always shows the controls in Chrome. Are you using other browser like Safari?
<video width="320" height="240" controls>
<source src="https://www.w3schools.com/html/mov_bbb.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>

Mohan Yadav
- 24
- 1
- 5
-
2I had already put this attribute "control"...my main issue is it shows only on hover...but i want it should be display always not only on hover... – Bharat Koshti Oct 22 '20 at 09:19
-
-
-
-
I am not using any external css or js ...kept default ....example which u shared above same i am using ... – Bharat Koshti Oct 22 '20 at 09:30
-
1
-