alxhotel / chromecast-api

:tv: Chromecast Node.js module
MIT License
155 stars 49 forks source link

Load HTTP webpages on Chromecast #30

Open mAPBhlJ opened 4 years ago

mAPBhlJ commented 4 years ago

I was thinking it would be interesting to have a feature to be able to show HTTP pages (by URL) on the Chromecast.

https://github.com/DeMille/url-cast-receiver

So instead of specifying a media item, you specify a webpage. I believe we'd need a "Custom Media Receiver" like above.

Unsure if this custom receiver should be integrated in this project or if we'd want to be able to let the user of the library specify a path/URL to the custom media receiver.

alxhotel commented 4 years ago

Ah that's nice. Thanks for the suggestion @Paul-Ver.

I will look into it this weekend :)

Atul-Anand-Jha commented 4 years ago

Ah that's nice. Thanks for the suggestion @Paul-Ver.

I will look into it this weekend :)

Any Progress on this??? @alxhotel .

Also, can we stream youtube videos through URL, using chomecast-api..??

It would enhance the user experience and usability of this library.

alxhotel commented 4 years ago

Hi @Atul-Anand-Jha,

Yes, I'm have been testing those features these days. It's working great, I only need to figure out what is the best way to expose it in the library's API.

So, I think it will be merged hopefully this weekend.

Atul-Anand-Jha commented 4 years ago

Thanks @alxhotel , waiting for that.

alxhotel commented 4 years ago

The support for Youtube has been released in https://github.com/alxhotel/chromecast-api/commit/6843560b84f4b63515e04c04196ba2e37c3e70b6.

Loading webpages is still in progress.

Atul-Anand-Jha commented 4 years ago

The support for Youtube has been released in 6843560.

Loading webpages is still in progress.

Thanks @alxhotel

Atul-Anand-Jha commented 4 years ago

The support for Youtube has been released in 6843560.

Loading webpages is still in progress.

Hie alxhotel, Can i display custom captions while playing youtube videos ?? Is it possible with the current setup ?

better explained in this issue

jhfoo commented 4 years ago

Any updates to this work? Loading web pages is exciting!

fhempy commented 4 years ago

You might want to check this out to have some hints for the implementation: https://github.com/home-assistant-libs/pychromecast/blob/master/pychromecast/controllers/dashcast.py

AdamKearn commented 2 years ago

Hi @alxhotel

Sorry to dig this old post out. Are you able to confirm if webpage support is still a feature you will be adding into this project?

Regards.

alxhotel commented 2 years ago

Hi @AdamKearn,

This feature is not yet implemented, but feel free to make a PR if you want it :)