视频DIV我有一个具有内div
一个视频的HTML网页:隐藏在移动
HTML
<div class="news">
<h3 class="highlight">Kate's 1 Month Transformation</h3>
<div class="clr"></div>
<center>
<video controls="" autoplay="" poster="assets/4/vid.png.html">
<source src="https://globalskincr.files.wordpress.com/2015/05/wrinkle_vid.mp4" type="video/mp4">
</video>
</center>
</div>
我不能在移动禁用视频和隐藏DIV,
CSS
.news {
display:none;
}
此代码隐藏视频,但声音仍在继续。
嗨,只需添加<视频预加载=“无”> – Med