r/Scriptable • u/-SeeS- • May 31 '21
Solved How to Play a random video from a youtube playlist. Would it be possible? Youtube autoplays videos when opened from url but not playlist. The idea is to take a random video link from a playlist and open it.
2
Upvotes
1
u/jonnylangefeld May 08 '24
3 years late, but since this was my first Google result searching for this I wanted to post what I think is a better solution that's guaranteed to work:
This API key is not super secret as it can only access public data. It's just used by Google to identify an individual user for rate limiting and such. So it only works for public playlists. Private playlists need oAuth authentication.
1
u/mvan231 script/widget helper May 31 '21
And you're needing this to be done in scriptable? Or would shortcuts be a better fit?