Add play and pause APIs