Add option to play a certain number of frames.