MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / hideControls

Function hideControls

assets/js/video.js:236–242  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

234// hideControls hides the video controls when not in use
235// if the video is paused, the controls must remain visible
236function hideControls() {
237 if (video.paused) {
238 return;
239 }
240
241 videoControls.classList.add('hide');
242}
243
244// showControls displays the video controls
245function showControls() {

Callers 1

keyboardShortcutsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected