Skip to content
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

YouTube api for casting support #15

Open
guyluz11 opened this issue Dec 18, 2023 · 1 comment
Open

YouTube api for casting support #15

guyluz11 opened this issue Dec 18, 2023 · 1 comment
Labels
JavaScript knowledge JavaScript knowledge may help new vendor support Request for adding support to a specific Vendor

Comments

@guyluz11
Copy link
Member

guyluz11 commented Dec 18, 2023

YouTube has its API for casting and is not part of the Chromecast casting protocol.
It had API for Chromecast but it is deprecated.

Here are some resources for the new API (didn't test that it works)

Worked with that one and it worked
https://github.com/i8beef/node-red-contrib-castv2/blob/master/lib/YouTubeController.js

Another option for reference
https://www.npmjs.com/package/youtube-remote (the package is written in one page).

https://bugs.xdavidhu.me/google/2021/04/05/i-built-a-tv-that-plays-all-of-your-private-youtube-videos/ (some article I found).

image

@guyluz11 guyluz11 added JavaScript knowledge JavaScript knowledge may help new vendor support Request for adding support to a specific Vendor labels Dec 18, 2023
@guyluz11
Copy link
Member Author

guyluz11 commented Jan 3, 2024

I have managed to use the cast package and even make it more accessible and add new functionality and all of it will be added to the app in the next version.

YouTube API for Chromecast has different implementations that we need to add separately.
Here are some example resources for that:
https://github.com/castjs/castjs (the package is written in one page).
https://bugs.xdavidhu.me/google/2021/04/05/i-built-a-tv-that-plays-all-of-your-private-youtube-videos/ (some article on the matter).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JavaScript knowledge JavaScript knowledge may help new vendor support Request for adding support to a specific Vendor
Projects
None yet
Development

No branches or pull requests

1 participant