Play / pause video with spacebar

Implements feature request #646
Minor style error - opening brace on the same line