Javascript mb.YTPlayer jQuery插件中的背景视频静音问题
我正在使用mb_播放器jQuery插件创建一个背景视频,在页面加载时自动播放,但是我无法将视频静音。我已将属性设置为Javascript mb.YTPlayer jQuery插件中的背景视频静音问题,javascript,video,youtube,Javascript,Video,Youtube,我正在使用mb_播放器jQuery插件创建一个背景视频,在页面加载时自动播放,但是我无法将视频静音。我已将属性设置为mute:true和volumn:0。我还尝试在YouTube url的末尾添加&volumn=0。似乎什么都不管用,任何帮助都是感激的 <script src="http://pupunzi.com/mb.components/mb.YTPlayer/demo/inc/jquery.mb.YTPlayer.js"></script> <sectio
mute:true
和volumn:0
。我还尝试在YouTube url的末尾添加&volumn=0
。似乎什么都不管用,任何帮助都是感激的
<script src="http://pupunzi.com/mb.components/mb.YTPlayer/demo/inc/jquery.mb.YTPlayer.js"></script>
<section class="content-section video-section">
<div class="pattern-overlay">
<a id="bgndVideo" class="player" data-property="{videoURL:'https://www.youtube.com/watch?v=bP7vggHJLVM',containment:'.video-section', quality:'large', autoPlay:true, mute:true, opacity:1, volumn:0,}"></a>
<h2>Overlay Textenter code here</h2>
</div>
</section>
$(document).ready(function () {
$(".player").mb_YTPlayer();
});
这本书对我有用,不包括“卷”:
data-property="{videoURL:'https://www.youtube.com/watch?v=bP7vggHJLVM',containment:'#intro-video',autoPlay:true, mute:true, startAt:0, printUrl:false,showControls:false, opacity:1, quality: 'highres'}
这本书对我有用,不包括“卷”:
data-property="{videoURL:'https://www.youtube.com/watch?v=bP7vggHJLVM',containment:'#intro-video',autoPlay:true, mute:true, startAt:0, printUrl:false,showControls:false, opacity:1, quality: 'highres'}