playVideo and pauseVideo now work properly