Giter Site home page Giter Site logo

Comments (3)

wxxsw avatar wxxsw commented on June 11, 2024 1

I see. Your pull request can be opened and I will merge it.

from gsplayer.

wxxsw avatar wxxsw commented on June 11, 2024

You should not delete the suffix because it will affect other video formats such as m3u8. You can consider adding.mp4 outside of the SDK when passing in urls.

from gsplayer.

gbuela avatar gbuela commented on June 11, 2024

It should not affect them because the only suffix that is deleted is the one that is added. If you have a m3u8 file, it will internally become __loader__https://whatever/file.m3u8.mp4 and then only the prefix and the dummy .mp4 suffix is deleted, yielding the real url for the requests.

If I just add the .mp4 extension outside the SDK, then the SDK will not know that the real URL has no extension and will try to hit that. Unless I'm missing something. This is the kind of URL with the issue:
https://media.staticontent.com/media/documents/132420b8-b6b0-4c29-8e81-3cec4522f6f1
Can you see a way to make it work without making a change to the SDK?

from gsplayer.

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.