静音嵌入的Vimeo视频 [英] Muting an embedded vimeo video
问题描述
在我正在建设的网站上,我嵌入了一个vimeo视频。客户需要将视频上的声音明显地保留在视频中找到它的人。然而对于她的网站来说,声音只是简单的烦人。所以我需要找到一种在嵌入代码中将音频静音的方法。我用Google搜索了它,但似乎无法找到任何可读的内容。正如你从我的下面的代码可以看到,我已经在链接中使用了autoplay命令,我希望我可以做类似的事情来静音。
< iframe src =http://player.vimeo.com/video/4415083?title = 0& amp; amp; amp; amp; amp = amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; autoplay = 1width =500height =281frameborder =0webkitAllowFullScreen mozallowfullscreen allowFullScreen>< / iframe>
谢谢
< iframe src =https ://player.vimeo.com/video/76979871?background = 1
width =500height =281frameborder =0webkitallowfullscreen
mozallowfullscreen allowfullscreen>< / iframe>
On a website I am building I have a vimeo video embedded. The client needs to keep the sound on the video obviously for people that find it on vimeo. However for her website the sound is just plain annoying. So I need to find a way to mute the audio within the code for the embed. I have googled it but can't seem to find anything legible. As you can see from my code below, I have used the autoplay command within the link I was hoping I could do a similar thing to mute the sound.
<iframe src="http://player.vimeo.com/video/4415083? title=0&byline=0&portrait=0&color=d01e2f&autoplay=1" width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
Thanks
In case it helps anyone, Vimeo have added a 'background' parameter for embedding videos, that autoplays videos silently. In some cases that will be useful where people want to mute videos - this is their example:
<iframe src="https://player.vimeo.com/video/76979871?background=1"
width="500" height="281" frameborder="0" webkitallowfullscreen
mozallowfullscreen allowfullscreen></iframe>
这篇关于静音嵌入的Vimeo视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!