Play/pause video when entering/leaving view

Now with working code as a result of not blind editing on GH dot com.