adding play and pause triggers