GithubHelp home page GithubHelp logo

Comments (7)

4rvx avatar 4rvx commented on May 23, 2024

When you do ytdl.chooseFormat() can you play the .url in ur browser?

from node-ytdl-core.

geroale avatar geroale commented on May 23, 2024

No, the url is not playable from the API, nor from the webpage (after deciphering). It is possible to reproduce the issue with this videoId 4fk2prKnYnI, but there are many others.

from node-ytdl-core.

4rvx avatar 4rvx commented on May 23, 2024

@geroale i think it is something to do with youtube then if it's not playing in the browser too

ytdl-core cannnot download it, if even the browser can't play it

from node-ytdl-core.

geroale avatar geroale commented on May 23, 2024

@4rvii Youtube may starting to remove this format. If that is the case, the problem may be very serious because itag 18 is the only format (or at least commonly returned by youtube) that has both audio and video. So if that gradually gets deprecated, it may be a very serious issue for ytdl.

from node-ytdl-core.

4rvx avatar 4rvx commented on May 23, 2024

@geroale Or you can just use format to select one that has both audio and video

format.hasAudio == true && format.hasVideo == true

from node-ytdl-core.

geroale avatar geroale commented on May 23, 2024

I think we can close this issue as in the end it seems that it was a temporary issue on the youtube end.

from node-ytdl-core.

a26364177 avatar a26364177 commented on May 23, 2024

same here
https://youtu.be/J5Z7tIq7bco?si=7giorci63vYSGokg
can't play itag 18 url

from node-ytdl-core.

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.