A simple video play/pause with page visibility api