Comments (7)
提供一个线上复现环境。
看上去像是视频源的问题。
@songguangyu 关注一下。
from chimee.
@solocao 需要您确认一下腾讯云的视频资源是否有开启防盗链拦截? 通过现象看是服务端直接拒绝了视频资源请求。
from chimee.
nginx 请求需要配置 OPTIONS, nginx 在请求时需要配置跨域请求header
from chimee.
看了一下视频流 只有视频 没有音频, 这个问题会在下个小版本 修复次问题。感谢 @solocao 的反馈 !
@332065255 编解码那块需要支持一下。
from chimee.
@solocao [email protected] chimee-kernel-flv模块更新到1.2.2 可以支持only video 模式
from chimee.
换成最新包已经解决了播放问题。还有一个问题,就是现在获取视频资源会先发预检请求,腾讯云的链接资源是可以下载的,但是会报跨域的错。
Failed to load http://1253804432.vod2.myqcloud.com/3712977fvodgzp1253804432/f3f31e5f9031868223411915443/f0.flv: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:10001' is therefore not allowed access. The response had HTTP status code 403. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
可以提供其他的请求配置吗。解决一下这个跨域问题。(PS 要是存放到自己服务器,我们会服务器端配置,但是腾讯云控制台没有看到相关配置功能,只有个白名单、黑名单),其他某些flash播放器,是直接可以播放的额。
from chimee.
下一版会支持 start end 的get 参数查询
from chimee.
Related Issues (20)
- An in-range update of core-js is breaking the build 🚨 HOT 1
- 视频全屏后支持竖屏还是横屏播放么 HOT 2
- An in-range update of @types/lodash is breaking the build 🚨 HOT 5
- expect that this plugin can be used in vue3/vue2 HOT 1
- Configuration x5VideoPlayerType should use 'h5-page' instead of 'h5' HOT 3
- import chimee 报错 Error: Can't resolve 'core-js/es7/global'
- 可以增加一些 react hooks 的 demo吗
- 播放器的延时会比较严重
- npm i 之后 npm start报错 无法查看效果 HOT 1
- 请问这个开源项目还有在维护吗?
- 播放不m3u8和rtmp的直播源是怎么回事
- 播放不m3u8和rtmp的直播源是怎么回事??
- pc端播放不嘞m3u8和rtmp的直播源是怎么回事???
- 能否加下支持H265视频格式
- http-flv数据正常请求却无法正常播放
- 打包之后报错:TypeError: Zn is not a function
- 请问如何支持mpeg4编码格式
- Yudz
- Uuhh
- Chimee 实例销毁无法再重建播放
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chimee.