From a428f88b61950e56e9331e6c6978e4c0e87eac33 Mon Sep 17 00:00:00 2001 From: markveronich 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