I have a 20 second long HTML5 video loop as the background on my webpage and it is set to autostart. Is it possible to delay the video autoplay for 5 seconds? I am trying to allow the video to load completely before trying to play to prevent it from stuttering as much. Here is my current code:
<video id="video_background" poster="images/dmm_background.jpg" controls="controls" preload="true" autoplay="true" loop="loop" muted="muted" volume="0">
<source src="videos/backgroundvideo.mp4" type="video/mp4">
<source src="videos/backgroundvideo.webm" type="video/webm">
</video>
</video>
Run Code Online (Sandbox Code Playgroud)
Any help is greatly appreciated!!
是否可以在我的商家网站上添加Google Hangouts按钮,点击该按钮时会向我发起呼叫?我有一个商业网站,我想任何人都可以打电话就像你可以嵌入你的网站页面的Skype按钮.问题是我是我去https://developers.google.com/+/hangouts/button和读取,然后去了谷歌API控制台在https://code.google.com/apis/console/转身在Google+环聊API上,然后添加了我的Google+个人资料和我的项目ID(app_id),并将其输入到html标记示例中,并将代码嵌入到我的页面中,它确实显示了按钮,但是,当单击按钮时,它启动Google Hangouts计划并要求邀请某人.
我需要这个实际上开始打电话给我,因为我的网页上的客户,当他们点击按钮并启动环聊程序时,他们不知道该在这里输入什么.需要像Skype呼叫按钮一样工作,并实际上打电话给我.
一如既往,非常感谢任何帮助!
比利
autoplay ×1
google-api ×1
google-plus ×1
hangout ×1
html5 ×1
preload ×1
settimeout ×1
video ×1