From 28991ad66e6340fd218b2162888f873200a954fd Mon Sep 17 00:00:00 2001 From: philip-luther Date: Tue, 21 Feb 2017 17:22:55 +0000 Subject: [PATCH] Fix vidme url regex Fixes https://github.com/CookPete/react-player/issues/158 --- src/players/Vidme.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/players/Vidme.js b/src/players/Vidme.js index e5ee1aa..26e7f5f 100644 --- a/src/players/Vidme.js +++ b/src/players/Vidme.js @@ -1,7 +1,7 @@ import FilePlayer from './FilePlayer' const RESOLVE_URL = 'https://api.vid.me/videoByUrl/' -const MATCH_URL = /^https?:\/\/vid.me\/([a-z0-9]+)$/ +const MATCH_URL = /^https?:\/\/vid.me\/([a-z0-9]+)$/i const cache = {} // Cache song data requests