Mute/Unmute Issue

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

mute-unmute.jpg

Discussion (5)

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

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

If i run

VarTriMuteAllFLV.set('1'); updateFLVPlayer(true);

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

undefined 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.

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 undefined typeof(fn) == ';string'; ) eval(fn);

else if(fn undefined typeof(fn) == ';function'; ) fn();

}

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

function action96(fn){

VarTriMuteAllFLV.set(';1';);

if(fn undefined typeof(fn) == ';string'; ) eval(fn);

else if(fn undefined 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

I will package up an example in a bit.

Discussions have been disabled for this post