I noticed the featured videos on Vimeo's home page tend to be "staff picks", which have a different url structure, probably to give some extra context to the view that renders the video. These videos can also be accessed through the more traditional url path, but because the staffpicks links are on the home page, I am concerned my users will be trying to paste in what they think are valid video urls, only to have them failing.
This adjusted regex is a bit aggressive, allowing for other channels to host videos (currently I don't believe any do, but they might if the staff picks are able to), so that could be tweaked.
I noticed the featured videos on Vimeo's home page tend to be "staff picks", which have a different url structure, probably to give some extra context to the view that renders the video. These videos can also be accessed through the more traditional url path, but because the staffpicks links are on the home page, I am concerned my users will be trying to paste in what they think are valid video urls, only to have them failing.
This adjusted regex is a bit aggressive, allowing for other channels to host videos (currently I don't believe any do, but they might if the staff picks are able to), so that could be tweaked.