这是我在下面用于我们网站的代码
<html>
<head><title>Answer please</title></head>
<body>
<div class="myIframe" >
<iframe src="https://s3.ap-south-1.amazonaws.com/gpsassests/images/images/web_video23042018_722pm.mp4" frameborder="0" allow="autoplay" scrolling = "no" width="1900px;" height="900px;" id = "vid" seamless></iframe>
</div>
</bod>
</html>
在这里自动播放工作得很好,但我无法从视频和循环中删除控件,我已经尝试了所有可能性,但它没有发生,有没有人可以帮助我解决这个问题?
你能不能像这样直接嵌入视频?
<html>
<head>
<title>Answer please</title>
</head>
<body>
<div class="myIframe">
<video src="https://s3.ap-south-1.amazonaws.com/gpsassests/images/images/web_video23042018_722pm.mp4" autoplay></video>
</div>
</bod>
</html>
这样,您可以省略controls
属性,然后不显示任何控件。