Svelte.js,视频标签破碎
我有一个视频标签,仅适用于电脑浏览器,手机浏览器仅显示海报并在 00:00 持续时间保持静止,....我的文件扩展名 [webm、ogv 和 mp4] 没有修复它。
<div class="video">
<center>
<video src="/static/intro.mp4" autoplay loop muted playsinline id="myVideo"
controls
poster="https://sveltejs.github.io/assets/caminandes-llamigos.jpg"
on:touchmove|preventDefault={handleMove}
on:mousedown|preventDefault
on:mouseup|preventDefault
bind:currentTime={time}
bind:duration
bind:paused>
<track kind="captions"/>
</video>
I have a video tag, only works in pc browser, Phone browsers it just shows the posters and stays still at 00:00 duration,.... i have the file extension [webm, ogv and mp4] none fixed it .
<div class="video">
<center>
<video src="/static/intro.mp4" autoplay loop muted playsinline id="myVideo"
controls
poster="https://sveltejs.github.io/assets/caminandes-llamigos.jpg"
on:touchmove|preventDefault={handleMove}
on:mousedown|preventDefault
on:mouseup|preventDefault
bind:currentTime={time}
bind:duration
bind:paused>
<track kind="captions"/>
</video>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论