add embedded playback and pausing