[英]HTML Play Video
I need some advice on how to play video on a website. 我需要一些有关如何在网站上播放视频的建议。 What I would like is to have a clip link on the page, and upon being clicked, a video player expands to the middle of the screen and plays the video (and has the standard video player controls).
我想要的是在页面上有一个剪辑链接,单击该视频播放器后,它会扩展到屏幕中间并播放视频(并具有标准的视频播放器控件)。 It also has "X" to close the video.
它还具有“ X”以关闭视频。 I would suppose there is a widget or tool for this but I can't seem to find it.
我想应该有一个小部件或工具,但是我似乎找不到它。
Also what video resolution and format would be best (most compatible with browsers)? 还有哪种视频分辨率和格式最好(与浏览器最兼容)? The video would just be a local file on the server.
视频只是服务器上的本地文件。
Try look here: 试试看这里:
http://rainbow.arch.scriptmania.com/scripts/music/video.html http://rainbow.arch.scriptmania.com/scripts/music/video.html
http://www.w3schools.com/html/html_videos.asp http://www.w3schools.com/html/html_videos.asp
http://www.sothinkmedia.com/guide/makebutton.htm http://www.sothinkmedia.com/guide/makebutton.htm
Hope this helps. 希望这可以帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.