📜  视频静音和取消静音 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:28.536000             🧑  作者: Mango

代码示例1
function toggleMute() {

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

  video.muted = !video.muted;

}