So this is part of the ongoing video player I'm working on.
Here's the problem setup:
client needs to have tracking URLs applied to an invisible
button during commercials (usually 30 seconds each). there's some
separated by ",". The tracking URLs could be between one and 3 URLS
per 30 second commercial. If it's 3, then the URL changes every 10
does populate the invisible button, however when you click on the
button during the commercial you get three popup windows rather
than one per commercial block (i.e. there could be three different
popups with three different URLs - but not at once, just per
Code is below / attached.
however, when I do add in that code it seems to just loop and
stops the button action. Mostly the "if" statement is the problem.
So any clue on how I can get the URLs to populate one at a
time per time segment?
ah, the getTimer() won't really work since the length of the
commercials are not always at 30 seconds. some might be shorter.
Plus I need to be able to pass over one or three URLS depending on
the type if tracking is needed.
I've played around with this a bit and haven't made much
movement. the end results always seem to point to the button losing
focus and not processing the getURL request. The for statement,
though does work so I need to see about how to get around the issue
with the if statement within the for statement.