-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split out download fork to allow webpack compilation #3
Comments
In video.js comment out line 8, lines 383 - 589, lines 667-779. That will leave you without a download function, but you should have no problem getting the video meta info and streams, I've only ever interfaced with the innertube api via a node server, but it ought to work in the browser provided you are able to overcome any CORS issues. |
I'll give it a try! |
This still errors when deploying to vercel.com and used in a next.js app.
|
It's not finding the model.js module which is right there in the ytcog lib folder. Perhaps you need to somehow configure webpack, npm or next.js to look in the ytcog lib folder to resolve the filenames. |
I am currently having trouble compiling the code with webpack. I only need the code to download video meta info which does not need the code to fork "dl.js" in
video.js
.Could the video meta code live in a webpack compatible module?
The text was updated successfully, but these errors were encountered: