I am trying to play a 1 hour Youtube video but starting at a random time in the clip.
This because it’s linked to a zone active and re-starting the video is boring.
Youtube supports a T variable:
‘(Dua Lipa, Coldplay, Martin Garrix & Kygo, The Chainsmokers Style - Feeling Me #38 - YouTube)’
This starts the video at 2 minutes.
Now I tried to use this URL in the Chromecast app, but it starts the video from the start and not at 2 minutes: https://www.youtube.com/watch?v=Qz6XNSB0F3E&t=120
The next step would be to randomize the start using:
t={{round(random(0,120))}}
Does anyone know how to include the variable in the Chromecast app URL ?`
Flow Example: Gedeelde Flow | Homey
Also tried to use a tag in the url and to let a viarable calculate the random number.
But this also didn’t do the trick.
Google TTS gives a random number, so that parts works, but the video starts at at 0 seconds: