Awesome q2a theme

How to make custom buttons for HTML5 video?

0 like 0 dislike
33 views
Do a video on website using EasyRTC.
It is necessary to tag video in make your buttons, which will replace the native controls. Family I concealed display on :hover custom and while the video is not in fullscreen, the buttons work.
And in full screen mode the buttons are not clickable.
Someone faced?
by | 33 views

2 Answers

0 like 0 dislike
Fullscreen need to include the video itself, and the container is the wrapper
\rhttps://jsfiddle.net/Stalk/gq72u7y7/
by
0 like 0 dislike
You can still try to style the existing elements using shadow DOM. Here is the pseudo-elements
video::-webkit-media-controls-fullscreen-button {} video::-webkit-media-controls-play-button {} video::-webkit-media-controls-timeline {} video::-webkit-media-controls-current-time-display{} video::-webkit-media-controls-time-remaining-display {} video::-webkit-media-controls-mute-button {} video::-webkit-media-controls-toggle-closed-captions-button {} video::-webkit-media-controls-volume-slider {}
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
110,608 questions
257,187 answers
0 comments
40,796 users