Skip to content

Commit

Permalink
youtube: match live urls
Browse files Browse the repository at this point in the history
  • Loading branch information
nleush committed Aug 14, 2024
1 parent ba49db8 commit 085234d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/domains/youtube.com/youtube.video.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default {
/^https?:\/\/youtu.be\/([a-zA-Z0-9_-]+)/i,
/^https?:\/\/m\.youtube\.com\/#\/watch\?(?:[^&]+&)*v=([a-zA-Z0-9_-]+)/i,
/^https?:\/\/www\.youtube\.com\/embed\/([a-zA-Z0-9_-]+)/i,
/^https?:\/\/www\.youtube\.com\/live\/([a-zA-Z0-9_-]+)/i,
/^https?:\/\/www\.youtube\.com\/v\/([a-zA-Z0-9_-]+)/i,
/^https?:\/\/www\.youtube\.com\/user\/[a-zA-Z0-9_-]+\/?\?v=([a-zA-Z0-9_-]+)/i,
/^https?:\/\/www\.youtube-nocookie\.com\/(?:v|embed)\/([a-zA-Z0-9_-]+)/i
Expand Down

0 comments on commit 085234d

Please sign in to comment.