Iframe mute
Include this library in your page: https://github.com/vimeo/player-api/tree/master/javascript like this., Go the YouTube video page and note down the ID of the video from the URL. For instance, if the YouTube video link is ..., In first example you can mute/unmute using same button by following code : var vid = document.getElementById("myVideo"); function ..., If you can use Sachin's solution, go for it, but I'm pretty sure it only works for media elements, which are just audio and video elements, last I ..., Step 1. First you need to access the iframe. var iframe = document.getElementById('iframeId'); var innerDoc = iframe.contentDocument || iframe.,you can mute it by js, example: just put this in your page: <script type="text/javascript"> myVid=document.getElementById("video1"); myVid.muted=true; </script>. , The mute() method of the HTMLIFrameElement mute any audio playing in the browser iframe., Updated. Add &mute=1 to the end of your url. Your new code would be: <iframe ..., ... 播放autoplay=1 Loop 重覆loop=1&playlist=影片ID Mute 靜音volumn="0" Playlist 播放清單loop=1&playlist=影片ID1,影片ID2 Autoplay + Loop.
相關軟體 FFmpeg 資訊 | |
---|---|
![]() Iframe mute 相關參考資料
A way to mute an iframe using jQuery or CSS? - Stack Overflow
Include this library in your page: https://github.com/vimeo/player-api/tree/master/javascript like this. https://stackoverflow.com How can I mute an iframe with an embedded youtube video in ...
Go the YouTube video page and note down the ID of the video from the URL. For instance, if the YouTube video link is ... https://stackoverflow.com How do I toggle video mute in an iframe? - Stack Overflow
In first example you can mute/unmute using same button by following code : var vid = document.getElementById("myVideo"); function ... https://stackoverflow.com How I can mute audio from iframe? - Stack Overflow
If you can use Sachin's solution, go for it, but I'm pretty sure it only works for media elements, which are just audio and video elements, last I ... https://stackoverflow.com How to mute an iframe content? - Stack Overflow
Step 1. First you need to access the iframe. var iframe = document.getElementById('iframeId'); var innerDoc = iframe.contentDocument || iframe. https://stackoverflow.com How to mute an iframe? - Stack Overflow
you can mute it by js, example: just put this in your page: <script type="text/javascript"> myVid=document.getElementById("video1"); myVid.muted=true; </script>. https://stackoverflow.com HTMLIFrameElement.mute() - Mozilla | MDN
The mute() method of the HTMLIFrameElement mute any audio playing in the browser iframe. https://developer.mozilla.org YouTube: How to present embed video with sound muted ...
Updated. Add &mute=1 to the end of your url. Your new code would be: <iframe ... https://stackoverflow.com Youtube影片iframe嵌入網頁設定自動播放(autoplay),重複播放 ...
... 播放autoplay=1 Loop 重覆loop=1&playlist=影片ID Mute 靜音volumn="0" Playlist 播放清單loop=1&playlist=影片ID1,影片ID2 Autoplay + Loop. http://blog.ja-anything.com |