Commit e08420e5 authored by Pierre Ynard's avatar Pierre Ynard

vimeo.lua: support channel video page URLs

Fix #16195
parent 7ccee740
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
function probe() function probe()
return ( vlc.access == "http" or vlc.access == "https" ) return ( vlc.access == "http" or vlc.access == "https" )
and ( string.match( vlc.path, "vimeo%.com/%d+$" ) and ( string.match( vlc.path, "vimeo%.com/%d+$" )
or string.match( vlc.path, "vimeo%.com/channels/(.-)/%d+$" )
or string.match( vlc.path, "player%.vimeo%.com" ) ) or string.match( vlc.path, "player%.vimeo%.com" ) )
-- do not match other addresses, -- do not match other addresses,
-- else we'll also try to decode the actual video url -- else we'll also try to decode the actual video url
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment