Code Monkey home page Code Monkey logo

Comments (3)

mister-ben avatar mister-ben commented on June 12, 2024 1

These all play at https://videojs-http-streaming.netlify.app/. The http one doesn't, as it's http

Of the others, many have CORS restrictions. The server only allows certain sites to play them. A desktop application like VLC is free to ignore those headers, but browsers enforce them and that can't be circumvented in javascript.

ts isn't supported, other than as ts segments in an HLS stream.

from video.js.

nomaam avatar nomaam commented on June 12, 2024

@mister-ben thank you so much for the feedback. This info is super helpful. So I can remove any .ts links or http links. Are there any other formats that you know are common and won't play?

Also, is there any way to programmicaly check if the stream has a cors policy? The only way I can think of is through a simulated browser, which I would like to avoid as its slow.

Take care.

from video.js.

mister-ben avatar mister-ben commented on June 12, 2024

See e.g. https://stackoverflow.com/questions/12173990/how-can-you-debug-a-cors-request-with-curl?noredirect=1&lq=1

from video.js.

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.