这些是我试过的代码片段,但我只是收到一条错误消息,提示我需要一个插件
<embed src="eria.mp4" height="50%" width="100%" controls>
最佳答案
在 HTML5 中你不需要任何插件。但语法有点不同:
<video width="100%" height="50%" controls>
<source src="eria.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
关于javascript - 我被困在从桌面上将视频嵌入到网站中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34114583/