Commit d3a8f14c authored by Pierre Ynard's avatar Pierre Ynard

vimeo.lua: tighten player.vimeo.com probe

parent 84661765
......@@ -29,7 +29,7 @@ function probe()
return ( vlc.access == "http" or vlc.access == "https" )
and ( string.match( path, "^vimeo%.com/%d+$" )
or string.match( path, "^vimeo%.com/channels/(.-)/%d+$" )
or string.match( path, "^player%.vimeo%.com" ) )
or string.match( path, "^player%.vimeo%.com/" ) )
-- do not match other addresses,
-- else we'll also try to decode the actual video url
end
......
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