Skip to content
Snippets Groups Projects
Commit c06e3546 authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

[gh-459] Remove src attr and add new one rather than switching src

parent bd431c83
No related branches found
No related tags found
No related merge requests found
...@@ -133,6 +133,7 @@ UNL.digitalSignage = (function() { ...@@ -133,6 +133,7 @@ UNL.digitalSignage = (function() {
var videoUpdate = function() { var videoUpdate = function() {
video.removeEventListener('ended', callVideoUpdate, false); video.removeEventListener('ended', callVideoUpdate, false);
video.removeAttribute('src');
video.src = videos[videoCounter].link; video.src = videos[videoCounter].link;
console.log('src for video #'+videoCounter+' loaded'); console.log('src for video #'+videoCounter+' loaded');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment