fix undef TypeError when using url.match() in components/video.js