def updateTimeline(self, time, state='<STR_LIT>', duration=None):
durationStr = '<STR_LIT>'<EOL>if duration is not None:<EOL><INDENT>durationStr = durationStr + str(duration)<EOL><DEDENT>else:<EOL><INDENT>durationStr = durationStr + str(self.duration)<EOL><DEDENT>key = '<STR_LIT>'<EOL>key %= (self.ratingKey, self.key, time, state, durationStr)<EOL>self._server.query(key)<EOL>self.reload()<EOL>
Set the timeline progress for this video.

            Parameters:
                time (int): milliseconds watched
                state (string): state of the video, default 'stopped'
                duration (int): duration of the item