Como resolver o erro Uncaught SyntaxError: Unexpected end of input?

tenho esse script:

<script type="text/javascript">(function () {
    var playerVideo = document.getElementById("player-video"); 
    var current = 0;
    var videos = [];
    var date = new Date();
if(date.getHours() == 19) {
    var video = document.getElementById("player-video");
    videos.push("https://embed-fastly.wistia.com/deliveries/eb15b8aec352baf075c01590380a13485a170781.mp4");

};

</script>

no meu console dar esse erro Uncaught SyntaxError: Unexpected end of input,o que tem de errado no meu código?