docs/example-app/script/index.js
function toggleControls () {
      controlsElement.style.display = controlsElement.style.display == "none" ? "block" : "none";
      if (controlsElement.style.display === "block") {
        playButton.focus();
      }
    }
function toggleControls () {
      controlsElement.style.display = controlsElement.style.display == "none" ? "block" : "none";
      if (controlsElement.style.display === "block") {
        playButton.focus();
      }
    }
function toggleControls ( ) { controlsElement . style . display = controlsElement . style . display == "none" ? "block" : "none" ; if ( controlsElement . style . display === "block" ) { playButton . focus ( ) ; } }
Toggle on screen playback controls
Toggle on screen playback controls