Giter Site home page Giter Site logo

使用此播放器播放存储在腾讯云的flv,播放不了,但是这个flv地址通过其他播放器是可以的 about chimee HOT 7 CLOSED

solocao avatar solocao commented on September 28, 2024
使用此播放器播放存储在腾讯云的flv,播放不了,但是这个flv地址通过其他播放器是可以的

from chimee.

Comments (7)

toxic-johann avatar toxic-johann commented on September 28, 2024

提供一个线上复现环境

看上去像是视频源的问题。

@songguangyu 关注一下。

from chimee.

huzunjie avatar huzunjie commented on September 28, 2024

@solocao 需要您确认一下腾讯云的视频资源是否有开启防盗链拦截? 通过现象看是服务端直接拒绝了视频资源请求。

from chimee.

songguangyu avatar songguangyu commented on September 28, 2024

nginx 请求需要配置 OPTIONS, nginx 在请求时需要配置跨域请求header

from chimee.

songguangyu avatar songguangyu commented on September 28, 2024

看了一下视频流 只有视频 没有音频, 这个问题会在下个小版本 修复次问题。感谢 @solocao 的反馈 !
@332065255 编解码那块需要支持一下。

from chimee.

songguangyu avatar songguangyu commented on September 28, 2024

@solocao [email protected] chimee-kernel-flv模块更新到1.2.2 可以支持only video 模式

from chimee.

solocao avatar solocao commented on September 28, 2024

换成最新包已经解决了播放问题。还有一个问题,就是现在获取视频资源会先发预检请求,腾讯云的链接资源是可以下载的,但是会报跨域的错。

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.

songguangyu avatar songguangyu commented on September 28, 2024

下一版会支持 start end 的get 参数查询

from chimee.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.