Chrome不会播放.mp4文件(Chrome won't play .mp4 file)

编程入门 行业动态 更新时间:2024-10-25 11:29:45
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?

更多推荐

本文发布于:2023-07-29 15:48:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1317582.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文件   Chrome   play   file

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!