add callback to switch to playlayer