Issue 25 Integrate play/pause API into main.js