Closed guyluz11 closed 11 months ago
Correct, its just the ID of the video, and no, it doesn't take any other parameters at this time. I think that was a holdover from the old cast node that I tried to replicate here to be familiar for some people. There actually is an example on the bottom of the README page here. What would make that example more clear for you? Just an explanation of where that ID comes from?
In the example flow just insert some ID, that will be good :)
Done.
@i8beef I am building a project that requires this functionality in dart programming language which similar to JavaScript in the syntax.
The basic casting logic is already working but I am missing DashCast, TTS, YouTub (especially the YouTube).
Here is the current package code https://github.com/guyluz11/flutter_cast/tree/multicast_version multicast_version
branch is my latest.
Will you be willing to work on it for a fee?
Sorry my friend, I simply don't have the time to dedicate to such an effort right now. I'm not even the author of the original underlying library, and that's more the kind of person I would think you need. I will point out the original JS library isn't incredibly complicated, though it also isn't the most well organized and has some long standing bugs... I'd use it for inspiration, but not an example of how to implement if I were to rewrite it.
Hmm bummer
I will take inspection from your YouTube controller, it need loungeToken which is little different from just casting https://github.com/i8beef/node-red-contrib-castv2/blob/master/lib/YouTubeController.js
I see on your profile that you are creating a lot of integrations to smart devices and I am creating smart home open source project so it catch my eyes. May I ask what are you working on?
Adding a real VideoIdFromYouTube link example would be nice.
I am not sure what parts do I need to inset, is it just the part after the v=
id_of_video
, will it take time parameter&t=36s
, or maybe it sais id but require the full URL including the id https://www.youtube.com/watch?v=`id_of_video`&t=36sA real video URL example would be nice
The exmaple flow looks like this
And the media example looks like this