PennController for IBEX › Forums › Support › Conditional trial › Reply To: Conditional trial
April 14, 2022 at 4:45 pm
#8055
Keymaster
Hi,
You might be interested in the explanations on this page
Your code creates two Video elements both named "28e", so when PennController creates the second one, it has to rename it to give it a unique name. You will need to give a different name to each Video element, and accordingly call wait on the appropriate one depending on the value of the Var element
Jeremy