Add support for resuming playback