Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Eric Rasmussen
UNL-CMS
Commits
c06e3546
Commit
c06e3546
authored
Sep 13, 2012
by
Eric Rasmussen
Browse files
[gh-459] Remove src attr and add new one rather than switching src
parent
bd431c83
Changes
1
Hide whitespace changes
Inline
Side-by-side
sites/all/themes/unl_digitalsignage/scripts/unl_digitalsignage.js
View file @
c06e3546
...
...
@@ -133,6 +133,7 @@ UNL.digitalSignage = (function() {
var
videoUpdate
=
function
()
{
video
.
removeEventListener
(
'
ended
'
,
callVideoUpdate
,
false
);
video
.
removeAttribute
(
'
src
'
);
video
.
src
=
videos
[
videoCounter
].
link
;
console
.
log
(
'
src for video #
'
+
videoCounter
+
'
loaded
'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment