Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #change #video #src
ADD COMMENT
Topic
Name
8+9 =