diff --git a/assets/scripts.js b/assets/scripts.js index d9a8193..72d9a8f 100644 --- a/assets/scripts.js +++ b/assets/scripts.js @@ -305,7 +305,7 @@ function togglePlayPause() { else v.pause(); } -function onload() { +window.onload = function() { var video_selector = document.getElementById("video"); var video_source_selector = document.getElementById("video-source"); var file_selector = document.getElementById("file-selector"); diff --git a/index.html b/index.html index 7b83fcd..d676070 100644 --- a/index.html +++ b/index.html @@ -24,7 +24,7 @@ - +