Archive
Feeds Sign In
Archive Feeds Sign In
Note
Hey, iOS automation geeks, I have a project for us. I want a Shortcut that will find all YouTube videos embedded in the current open Safari tab, show the URLs in a list, and then open the tapped URL in VLC or other non-YouTube video player app.

Jonathan's location at time of posting:

LaCour stationary -3.6 km/h 42%

Comments (4)

Dark Sky
Dark Sky via cleverdevil.io

Weather at time/location of posting — Clear with a temperature of 81.55°F and 46% humidity.

craigmcclellan
craigmcclellan via Micro.blog

@cleverdevil If the website’s JavaScript isn’t too insane, this shortcut should get you the first half of what you want. I don’t have any non-YouTube apps to test the rest of it out in.

craigmcclellan
craigmcclellan via Micro.blog

@craigmcclellan @cleverdevil That being said, some of the website’s I’ve tried it on are crazy and embed YouTube videos in a weird way. This shortcut definitely doesn’t work on those.

cleverdevil
cleverdevil via Micro.blog

@craigmcclellan yeah, I have used that one as a starting point, and I am pretty close, but like you said, some websites do bonkers embeds that just can’t be detected by inspecting the source. Thanks for nothing, JavaScript!