Skip to content

Commit 2e8b655

Browse files
committed
Improved: backgroundVideo.html hiding controls
1 parent 3d5ced0 commit 2e8b655

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

examples/backgroundVideo.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,15 @@
7979
#infoMenu li a {
8080
color: #fff;
8181
}
82+
83+
84+
/* Hiding video controls
85+
* See: https://css-tricks.com/custom-controls-in-html5-video-full-screen/
86+
* --------------------------------------- */
87+
video::-webkit-media-controls {
88+
display:none !important;
89+
}
90+
8291
</style>
8392

8493
<!--[if IE]>

0 commit comments

Comments
 (0)