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:
LaCourstationary-3.6 km/h42%
Comments (4)
Dark Sky
via
cleverdevil.io
Weather at time/location of posting — Clear with a temperature of 81.55°F and 46% humidity.
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
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
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!
Comments (4)
Weather at time/location of posting — Clear with a temperature of 81.55°F and 46% humidity.
@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 @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.
@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!