changed video javascript code example
Example: js change video src
var video = document.getElementById('video');
var source = document.getElementById('source');
source.setAttribute('src', 'http://www.tools4movies.com/trailers/1012/Kill%20Bill%20Vol.3.mp4');
video.load();
video.play();