Tightened up logic for play/pause of videos

Fixes #11