FramePlayer example code.