Restart playback when duration changes