var src = location.href.split('?src=')[1]; document.querySelector('video').src = src;