Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

video mute and unmute

function toggleMute() {

  var video=document.getElementById("myVideo");

  video.muted = !video.muted;

}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #video #mute #unmute
ADD COMMENT
Topic
Name
2+4 =