I have copied and pasted the code into my machine.
And I found the error.
On line 4,
var video= '
This is causing the error.
You have put a line break on line 4 after the equal to =
sign.
Javascript considers every line break as new statement.
Please remove unnecessary line breaks and it should work.
Thanks.