Select list play YTB pip
SCRIPTING
Choose from Menu

Menu Result
SCRIPTING
Music 1

Menu Result
SAFARI
Open
https://youtu.be/36YnV9STBqc
SCRIPTING
music 2

Menu Result
SAFARI
Open
youtube:///youtu.be/5qap5aO4i9A
SCRIPTING
End Menu

Menu Result
COMMENT
Change the values in the dictionary below to configure the behavior of the Shortcut.
- pip: If true Picture-in-Picture will automatically be enabled after the video has loaded. Set to false to keep the video in the player.
- speed: The default selected playback speed. Valid values are 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75 and 2.0
- hd: The default quality. If true the highest quality available will be selected (currently 720p)
- completion: Optional parameter. The name of a Shortcut that will be executed just after PiP has been automatically enabled. This is useful for running a Shortcut that will show the SpringBoard such as https://www.icloud.com/shortcuts/e1b2044fb3eb4134880954bad71681df
- theme: The theme to use it in player. Empty value will automatically select theme based on system appearance. Valid values are: nord, polar and ocean-next
DICTIONARY

Dictionary
COMMENT
Do not edit below this comment unless you know what you are doing
DICTIONARY

Dictionary
SCRIPTING
Get
First Item
from
Shortcut Input

Item from List
SCRIPTING
If
URL
has any value
SCRIPTING
Set
url
to
URL
in
Dictionary

Dictionary
SCRIPTING
Otherwise
SCRIPTING
Ask
Run Shortcut using Share sheet in YouTube or provide link below

Provided Input
SCRIPTING
Set
url
to
Provided Input
in
Dictionary

Dictionary
SCRIPTING
End If

If Result
MISSING
Under Construction
Showcuts