File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ export const DASH_EXTENSIONS = /\.(mpd)($|\?)/i;
66// Match Mux m3u8 URLs without the extension so users can use hls.js with Mux by adding the `.m3u8` extension. https://regexr.com/7um5f
77export const MATCH_URL_MUX = / s t r e a m \. m u x \. c o m \/ (? ! \w + \. m 3 u 8 ) ( \w + ) / ;
88export const MATCH_URL_YOUTUBE =
9- / (?: y o u t u \. b e \/ | y o u t u b e (?: - n o c o o k i e | e d u c a t i o n ) ? \. c o m \/ (?: e m b e d \/ | v \/ | w a t c h \/ | w a t c h \? v = | w a t c h \? .+ & v = | s h o r t s \/ | l i v e \/ ) ) ( ( \w | - ) { 11 } ) / ;
9+ / (?: y o u t u \. b e \/ | y o u t u b e (?: - n o c o o k i e | e d u c a t i o n ) ? \. c o m \/ (?: e m b e d \/ | v \/ | w a t c h \/ | w a t c h \? v = | w a t c h \? .+ & v = | s h o r t s \/ | l i v e \/ ) ) ( ( \w | - ) { 11 } ) | y o u t u b e \. c o m \/ p l a y l i s t \? l i s t = | y o u t u b e \. c o m \/ u s e r \/ / ;
1010export const MATCH_URL_VIMEO = / v i m e o \. c o m \/ (? ! p r o g r e s s i v e _ r e d i r e c t ) .+ / ;
1111export const MATCH_URL_WISTIA =
1212 / (?: w i s t i a \. (?: c o m | n e t ) | w i \. s t ) \/ (?: m e d i a s | e m b e d ) \/ (?: i f r a m e \/ ) ? ( [ ^ ? ] + ) / ;
You can’t perform that action at this time.
0 commit comments