Bob, I do not understand what is your problem.
There are javascript functions to work with cookies.
So, algorythm is simple as piece of cake.
1) read your cookie parameter
2) if it is > 1 then kill videotag
3) if no set cookie
so, nothing special...