amended playback function in story page