谷歌html5.js,HTML5 video (video.js) not loading in Chrome

在Chrome浏览器中,一个HTML5视频无法加载,只显示video.js的加载指示器,并出现'Uncaught TypeError: Cannot call method 'init' of undefined'的错误。视频源类型包括mp4、webm和ogg,页面设置为自动播放并预加载。可能的问题包括浏览器不支持HTML5视频、资源路径错误或者video.js库加载失败。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

I have a html5 video video that is not loading in chrome, it just shows the loading spinner from video.js.

I get the following error in chrome console too:

Uncaught TypeError: Cannot call method 'init' of undefined machinas.com/:830

["Video Error", Object]

0: "Video Error"

1: Object

length: 2

__proto__: Array[0]

.htaccess

AddType video/mp4 .mp4 .m4v

AddType video/webm .webm

AddType video/ogg .ogv .ogg

html

width="100%" height="100%"

poster="videos/timelapse.jpg"

data-setup='{ "controls": true, "autoplay": false, "preload": "auto" }'>

Your browser doesn't support HTML5 video.

Download the video instead.

Anyone know what could be the issue?

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值