Small Ajax Project 09.10.08
4 simple steps:
a. one simple page with text link “VIDEO” and “TEST”
b. On mouse click, form field with ENTER CODE appears bellow to link.
c. Visitor enters the Code and clicks Submit.
d. IT validates/compares the Code to pre-defined one, in config file on server. If validation is passed
e. Embedded video player code appears on the pagem playing e.g. some youtube video. If Code is invalid, nothing happens. Code is any combination of chars and numbers, like a password.
Important 1. no page refresh, reloads while clicking the link or submiting the code in form. Code must be checked through Ajax so Code is stored on FTP and not in client side JS.
Important 2. It must NOT be possible Opening of Video in any other way then entering the right code, e.g. by sharing the direct URL etc…
Important 3. If click another link “TEST”, both form and Player disappear.
no design needed at all, just plain code with dummy html page.



