Explore the community Forums Lectora Lectora Questions & Answers Jump to and play audio issue Reply To: Jump to and play audio issue

#385757 Score: 0
Profile photo of Jason Dalrymple
Jason Dalrymple
Member
beginner
intermediate
profile
wise owl
curious george
contributor
friend finder
advanced
picture perfect
54 pts
@JasonADal

Tim, thanks again for the help and great explanation. I didn’t find anything that remotely suggested I could use decimal values on the times! Can you go beyond 10ths of a second?

If I’m reading it correctly, it sounds like the missing link was using the custom variables and Lectora functions where I needed to use the RunJS and the “PlayFromTo” function.

What’s your take on using variables to define the intervals, then using the variable in the function? I tried a few variations of a value for the variable, but was only able to get it work myself with two separate variables to identify the start time and end time. I tried no quotes and quotes around (0,24.5) then the same, but without the parentheses. I was trying to see if there was a way to more quickly add the intervals and update the initial “pause” and the intervals onClick.