静音嵌入的Vimeo视频 [英] Muting an embedded vimeo video

查看:184
本文介绍了静音嵌入的Vimeo视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我正在建设的网站上,我嵌入了一个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> 

谢谢

解决方案如果它可以帮助任何人, Vimeo已经为嵌入视频添加了一个背景参数,自动播放视频。在某些情况下,如果用户想要将视频设为静音,这将是有用的 - 这是他们的示例:

 < 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&amp;byline=0&amp;portrait=0&amp;color=d01e2f&amp;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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆