How to avoid function being called several times at the end of interactive video
I have an interactive video with a couple of fill in the blank activities and a function call at the end of an interactive video. However, the function is called several times.
My issues is that IsAnswered && contextIsIV (see code below) is returning true for every IV activity and not just at the end of the video.
How do I only call the function after the user has ended the video and has completed at least one activity.
Here is my code: