1
0
Fork 0

urlhandler: handle mobile youtube URLs

This commit is contained in:
tastytea 2023-08-15 21:13:24 +02:00
parent 82ff72cb45
commit cfa7cf125b
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ local -a assignments=(
'\.(mp4|m4v|mkv|avi|webm|flv|xvid|ogv|theora|mov|wmv)(\?.+)?$' "${mpv};vlc"
'\.(ogg|flac|opus|m4a|wav|mp3|mid|aac|wma)(\?.+)?$' "${mpv};vlc"
'^https://media\.ccc\.de/v/[^/]*$' "${mpv}"
'^https?://(www\.)?youtu(\.be|be\.com)/' "${mpv}"
'^https?://(www\.|m\.)?youtu(\.be|be\.com)/' "${mpv}"
'^https?://(invidious|piped|tube)\.[^/]+/watch\?v=' "${mpv}"
'^https://yewtu\.be/watch\?v=' "${mpv}"
'^https://v.redd.it/' "${mpv}"