Explore the community Forums Lectora Inspire Tools Questions & Answers Tracking to disable repeated audio

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #438843 Score: 0
    Profile photo of Joe Hauglie
    Joe Hauglie
    Member
    beginner
    intermediate
    curious george
    wise owl
    picture perfect
    contributor
    friend finder
    5 pts
    @jhauglie5350

    Hi y’all. I have a page that has three separate links to different screens. The user must click through each link and then review that content before returning to the first page. The “link backs” are working fine. The problem is that there’s a brief narrative audio that needs to play only the first time the user hits the first page. I’ve spent the afternoon banging my head with variables and tracking but the audio continues to play when I return to the page; I can’t seem to find the proper combination of luck and skill that will disable the audio after the first page visit. Does anyone have a different way to resolve this problem other than variables and tracking?

    Blessings on you for your time and patience!

    #438859 Score: 1
    Profile photo of Laura Silver
    Laura Silver
    Moderator
    junior moderator
    verified member
    beginner
    intermediate
    contributor
    wise owl
    friend finder
    advanced
    curious george
    Group Member
    25 pts
    @lsilver

    Hi Joe – Here’s what I recommend.

    • First, turn off Auto Play for the audio file.
    • Then create a FirstTime custom variable.
    • Add an On Done Playing action to the audio that sets the FirstTime variable to “no”.
    • Add another action On Show of the page to Play the audio file IF FirstTime does not equal “no”.

    Let us know if this works.

    This post has received 1 vote up.
    #438864 Score: 0
    Profile photo of Joe Hauglie
    Joe Hauglie
    Member
    beginner
    intermediate
    curious george
    wise owl
    picture perfect
    contributor
    friend finder
    5 pts
    @jhauglie5350

    <flowers>:D</flowers>
    <chocolate>TY!!</chocolate>

    Many thanks, Laura! Works perfectly! Awesome start to the morning!!!

    JoeH

    #438878 Score: 0
    Profile photo of CarlFink
    CarlFink
    Member
    beginner
    intermediate
    contributor
    LUC16 Attendee
    wise owl
    curious george
    advanced
    32 pts
    @CarlFink

    Adding to Laura’s suggestion: set the default value of FirstTime to “Yes” and do not save values between sessions.

    #438913 Score: 0
    Profile photo of Joe Hauglie
    Joe Hauglie
    Member
    beginner
    intermediate
    curious george
    wise owl
    picture perfect
    contributor
    friend finder
    5 pts
    @jhauglie5350

    Carl, thanks!! This is what I did! Nice to know I’m on the right track!

    #439256 Score: 2
    Profile photo of Sergey Snegirev
    Sergey Snegirev
    Member
    contributor
    intermediate
    advanced
    friend finder
    lab member
    junior moderator
    advocate
    LUC16
    LUC16 Attendee
    wise owl
    339 pts
    @ssneg

    Feature suggestion: add property “autoplay everytime / autoplay once per page / autoplay once per course” to audio elements so we don’t have to build this functionality every time 😉

    This post has received 2 votes up.
Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.