# only running the current file even if you have marked multiple files.
# Play videos with mpv
-match ^https?://www.youtube.com/watch\?, has mpv, X, terminal = mpv -- $1
-match ^https?://www.youtube.com/watch\?, has mpv, X, flag f = mpv --quiet -- $1
+match ^https?://(www|m).youtube.com/watch\?, has mpv, X, terminal = mpv -- $1
+match ^https?://(www|m).youtube.com/watch\?, has mpv, X, flag f = mpv --quiet -- $1
+match ^https?://youtu.be/, has mpv, X, terminal = mpv --quiet -- $1
+match ^https?://youtu.be/, has mpv, X, flag f = mpv --quiet -- $1
# open web url with BROWSER
match ^https?://, X, flag f = $BROWSER -- "$@"