Chrome不会播放.mp4文件(Chrome won't play .mp4 file)
我正在努力让HTML5视频正常运行。 我正在使用本地服务器。
<video id="headervideo" controls> <source src="<?php echo base_url(); ?>assets/home.mp4" type="video/mp4"> Your browser does not support the video tag. </video>但是,该文件拒绝播放。 当我使用绝对路径访问它时,它只是显示播放按钮灰色的播放器。 这可能是什么问题?
I'm trying to get HTML5 video to work. I am working off a local server.
<video id="headervideo" controls> <source src="<?php echo base_url(); ?>assets/home.mp4" type="video/mp4"> Your browser does not support the video tag. </video>However, the file refuses to play. When I access it with an absolute path it simply shows the player with the play button greyed out. What could be the issue here?
更多推荐
发布评论