I have copied and pasted the code into my machine.
And I found the error.
On line 4,
var video= '
<OBJECT ID="player" width="800" height="450" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
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.