Help with Mute/Unmute
July 23, 2014 12:00 AM
I have a title for which I've created a mute/unmute button. The action is fairly simply - click the mute button to mute the media, and the unmute button appears. Click the unmute button, the media is unmuted and the mute button appears.
Here's the problem - when I click the mute button, the media is indeed muted, and the Unmute button appears, as it should. However, when I advance to the next page, the Mute button re-appears, and there is no audio. I click on the mute button, and it changes to the unmute button, but still no sound.
Essentially, the minute I press mute the media is muted for the rest of the course. Clicking the mute/unmute button does nothing other than switch the images.
I've tried it with the buttons at the top level, with each individual page inheriting them, and I've tried placing them on each individual page. No luck.
Any thoughts?
Discussion (4)
Okay, I see your problem. Here's a couple of things.
1. If you do Mute Media on Page 1, then go to Page 2, then do Unmute media, it unmutes it but also leaves the volume at 0. So you still cannot hear it on Page 2 or anywhere else. If you mute, then unmute without navigating between pages, it works fine. It's an old bug, I've seen it once or twice. I cannot reproduce it now with IE9, IE11 or Chrome. But I can reproduce it in Lectora Preview mode. I've built a sample to illustrate it. Maybe updating to v11.3.2 will solve your problem?
Sample title: https://dl.dropboxusercontent.com/u/11433463/trivantis/mute/Archive.zip
Sample HTML live: https://dl.dropboxusercontent.com/u/11433463/trivantis/mute/html/index.html
2. There are a couple possible workarounds.
a) Unmute media before leaving the page and mute it again on entering the next page. It's basically two extra conditional actions on the title level and two extra actions added to your mute/unmute button to modify a control variable.
b) Use stop/play instead of mute/unmute. Of course, you might want your sound to play silently instead of stopping completely because you have timeline events linked to it.
c) Build your own Mute/Unmute or volume control functionality. You'll have to dig into JWplayer v5 JS API for that (start here)
3. To 'publish a sample', you can do exactly what I just did. Create a very basic title that demonstrates your problem or delete all pages except two from your original title. Makes debugging much faster since I don't have to recreate your situation from scratch.
There are multiple audio files in the course. I have each page's audio file on its respective page, and I am using the Mute/Unmute all media.
I've tried that mute button on each individual page, and I've tried it placing it at the top hierarchy.
As for publishing a sample, how would I do that?
Are you muting a specific file or using "mute/unmute all media" action? If you could publish a small sample, that'd be great.
@ssneg 61152 wrote:
Okay, I see your problem. Here's a couple of things.
1. If you do Mute Media on Page 1, then go to Page 2, then do Unmute media, it unmutes it but also leaves the volume at 0. So you still cannot hear it on Page 2 or anywhere else. If you mute, then unmute without navigating between pages, it works fine. It's an old bug, I've seen it once or twice. I cannot reproduce it now with IE9, IE11 or Chrome. But I can reproduce it in Lectora Preview mode. I've built a sample to illustrate it. Maybe updating to v11.3.2 will solve your problem?
I already have 11.3.2. It's kind of mystifying.
@ssneg 61152 wrote:
2. There are a couple possible workarounds.a) Unmute media before leaving the page and mute it again on entering the next page. It's basically two extra conditional actions on the title level and two extra actions added to your mute/unmute button to modify a control variable.
At the title level? Hmmmm. How would I set that up to change on each page?
Discussions have been disabled for this post