Automation a start of chrome cast

Is it possible to open a link to Youtube and then automaticly start casting to chrome cast?

I’m not a Chromecast expert, but I think that the user has to give explicit permission to share their screen with the other device.

Thanks for your fast reply.
I can open the youtube app and video. But i just like it to start up and cast automaticly. I can do it manualy so i gues that I have the permissions.
I’m also on the same network…
Or is there a video viewer to use in stead or a nother work arround. It is the same video i have to show all the time.