Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #324142 Score: 0
    Profile photo of Chuck Lewis
    Chuck Lewis
    Member
    beginner
    intermediate
    curious george
    wise owl
    friend finder
    contributor
    picture perfect
    7 pts
    @clewis2107

    I have a placeholder audio file for voice-over and I use an Action set on each page set to

    Trigger: On Show
    Action: Change Contents
    Target: Placeholder Audio file
    Resource: mypagevo.mp3

    Works great playing the audio, but my button to mute/unmute have no impact.

    If I place the audio on the page level, the mute/ummute works.

    Ideas?

    – Chuck

    Attachments:
    #324163 Score: 0
    Profile photo of Sergey Snegirev
    Sergey Snegirev
    Member
    contributor
    intermediate
    advanced
    friend finder
    lab member
    junior moderator
    advocate
    LUC16
    LUC16 Attendee
    wise owl
    336 pts
    @ssneg

    I could not replicate this in v16.0.2, it works as expected.

    #324175 Score: 0
    Profile photo of Chuck Lewis
    Chuck Lewis
    Member
    beginner
    intermediate
    curious george
    wise owl
    friend finder
    contributor
    picture perfect
    7 pts
    @clewis2107

    I will package up an example in a bit.

    #324176 Score: 2
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    307 pts
    @timk

    I can replicate the issue. The “Mute media” action doesn’t work if the audio is on title level. There seems to be a difference in the two Mute actions.

    Code of the Mute action if the audio is on page level:

    function action96(fn){
    VarTriMuteAllFLV.set('1'); updateFLVPlayer(true);
    
    if(fn && typeof(fn) == 'string' ) eval(fn);
    else if(fn && typeof(fn) == 'function' ) fn();
    }

    Code of the action if the audio is on title level:

    function action96(fn){
    VarTriMuteAllFLV.set('1');
    
    if(fn && typeof(fn) == 'string' ) eval(fn);
    else if(fn && typeof(fn) == 'function' ) fn();
    }

    … the “updateFLVPlayer()” part is missing.

    If i run
    VarTriMuteAllFLV.set('1'); updateFLVPlayer(true);

    in a “Run javascript” action it’s muting the audio on title level as well.
    Tim

    This post has received 2 votes up.
    • This reply was modified 3 years, 1 month ago by Profile photo of Tim K Tim K.
    #324205 Score: 0
    Profile photo of Chuck Lewis
    Chuck Lewis
    Member
    beginner
    intermediate
    curious george
    wise owl
    friend finder
    contributor
    picture perfect
    7 pts
    @clewis2107

    If i run
    VarTriMuteAllFLV.set('1'); updateFLVPlayer(true);

    in a “Run javascript” action it’s muting the audio on title level as well.

     

    That does work and I did notice the same updateFLVPlayer(true); missing when the audio is on the title level.

    I do find it odd that you need to set VarTriMuteAllFLV to ‘0’ and change the boolean value of updateFLVPlayer to ‘false’ to unmute.

    #324236 Score: 0
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    307 pts
    @timk

    The default state is “unmuted”. The action behind it all is .setMuted() so it should be “true” to mute and “false” to unmute. This comes from the player. Muting is not the same as decreasing the volume to “0”. You can still adjust the volume on a muted file, but you won’t hear anything until you unmute.

    What I find a little odd is that the exact same action is published differently depending on its position in the title 😉

    Tim

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.