根据需求,目前的视频需要默认静音
h5
//muted
<video id="video" class="videos" controls preload="auto" autoplay="autoplay" muted src="hhhh.mp4" type="video/mp4"></video>
flowplayer
<a href="hhhh.mp4" id="player"></a>
//js
flowplayer("player", "js/flowplayer/flowplayer-3.2.18.swf", {
clip: {
muted: true
},
plugins: {
controls: {
mute: true, //静音按钮
tooltips: {mute: '静音',}
}
}
});