added play, pause and stop events, closes #53