Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Var firstRun = true

Marko had mentioned:
>"I have logic in this callback that I ONLY want to execute once so I'm getting into trouble with this. I don't want to use some stupid 'var firstrun = true' mechanism for obvious reasons."

on this post:

I'd like to have a WORKING example of this stupid mechanism :P, thanks in advance.

1 Community Answers


JW Player Support Agent  
0 rated :


Have you by chance tried calling your playlist before the player instance creation?


This question has received the maximum number of answers.