<html><body><video src="C:\Users\vps\Desktop\v.mp4" width="50%" controls>
<p>If you are reading this, it is because your browser does not support the 'video' element. Try using the 'object' element listed further down the page.</p></video><p>If you can see the video controls but the video doesn't play when you click the "Play" button, your browser might not support this file type (i.e. <code>Ogg</code>). In this case, try the same code, but with a different file format.</p>enter code here</video></body></html>
-1
A
回答
-1
請參考下面的鏈接,這將解釋添加視頻文件。
https://www.w3schools.com/html/tryit.asp?filename=tryhtml5_video
+1
這不是一個答案,請不要只給鏈接。它最好提供示例代碼。請不要w3schools。 – Raptor
0
希望這有助於:
<video width="300" height="400" id="vid" controls>
<source src="https://developer.apple.com//live-photos/assets/boy.mov" type="video/mp4">
Your browser does not support the video tag.
</video>
相關問題
- 1. 如何將視頻插入框架?
- 2. 如何將視頻插入到android studio?
- 3. 視頻插入到HTML網頁
- 4. 如何將HTML插入UIWebView
- 5. 如何在html上嵌入mp4視頻?
- 6. 如何使用gtkmm插入視頻
- 7. 將視頻嵌入HTML頁面
- 8. Flex - 將持久圖像插入視頻
- 9. Tkinter將視頻插入窗口
- 10. 如何將視頻添加到html中
- 11. 如何將標記插入到Silverlight LIVE視頻流中?
- 12. HTML - 嵌入式mp4視頻
- 13. 如何使用C#.Net將視頻嵌入到視頻中?
- 14. 如何將幀寫入視頻文件?
- 15. 如何將透明視頻嵌入Silverlight?
- 16. RichTextBox插入媒體文件(如視頻)
- 17. 如何將HTML插入爲文本
- 18. 如何將HTML插入到Word中?
- 19. 如何將HTML插入到Mongodb中?
- 20. 如何將HTML插入到QuillJS中?
- 21. 如何將HTML插入到Oracle DB中
- 22. 將HTML插入div
- 23. 如何嵌入Facebook視頻?
- 24. 如何將Youtube視頻放入我的Roku頻道?
- 25. 如何將視頻內apk?
- 26. 使用YouTube API插入主視頻前添加視頻
- 27. 如何在html視頻標籤中使用youtube視頻
- 28. 如何將音頻添加到視頻?
- 29. HTML嵌入rtmp視頻到頁面
- 30. 在html中嵌入視頻對象
你的HTML代碼是可怕的。嘗試從基礎知識中學習。另外,你想要的'