Skip to content

YouTube api for casting support #742

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

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

YouTube api for casting support #742

guyluz11 opened this issue Dec 18, 2023 · 1 comment

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
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).

@guyluz11 guyluz11 transferred this issue from simple-hub-organization/cbj_integrations_controller Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant