Didn't work in Chrome

Script didn't work in Chrome.
Added recursion and set the timeout to 10 to check every tenth-second to see if video is playing.
If video is playing, pause it and set it to the beginning.