Resolution question

Hi there

I was wondering, how to “read” what resolution does clients computer has, and upon that, give some action to my movie? For example: GoTo Scene 5…

ty
respect