terrabythia / dart_chromecast

Dart package to play videos to a chromecast device
MIT License
62 stars 66 forks source link

Opening web page or youtube video #59

Closed guyluz11 closed 2 years ago

guyluz11 commented 2 years ago

The example is using a .mp4 video that can be found on a public URL.

Is there a way to open web pages or youtube videos by sending URLs?

terrabythia commented 2 years ago

No, that's not possible. I don't believe that's possible at all with a crhomecast, you can only send direct video or image links.

guyluz11 commented 2 years ago

I think it is possible because I've managed to do that using this package in NodeRED https://flows.nodered.org/node/node-red-contrib-castv2 that is written in JavaScript

terrabythia commented 2 years ago

Interesting! Didn't know there was an "open YouTube receiver". Should be possible to implement the same principle in this library (since it's just sending specific messages to the chromecast), but somebody else would have to write that implementation and create a PR.

guyluz11 commented 2 years ago

Interesting! Didn't know there was an "open YouTube receiver". Should be possible to implement the same principle in this library (since it's just sending specific messages to the chromecast), but somebody else would have to write that implementation and create a PR.

Cool so let's keep this issue open, if me or somebody will have the time we can easily find an issue to contribute to or discuss about it more.