question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

audio muted when using plugin

See original GitHub issue

https://jsfiddle.net/ukexqgsh/1/

With plugin player is muted. Without - it plays normal.

    if (waveform) {
        // https://collab-project.github.io/videojs-wavesurfer/#/options
        options.plugins.wavesurfer = {
            backend: 'MediaElement',
            displayMilliseconds: false,
            debug: true,
            waveColor: 'yellow',
            progressColor: '#FCF990',
            cursorColor: '#FCFC42',
            interact: true,
            hideScrollbar: true,
        };
    }

Console shows

VIDEOJS: Using wavesurfer.js MediaElement backend.
(index):139 player.muted():false
video.min.js:12 VIDEOJS: Loading element: [object HTMLAudioElement]
video.min.js:12 VIDEOJS: Waveform is ready
(index):143 on(waveReady):player.muted():false
video.min.js:12 VIDEOJS: Changing volume to: 0
video.min.js:12 VIDEOJS: Finished playback

What am I doing wrong?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
hrvoj3ecommented, Aug 10, 2020

@thijstriemstra Sorry.

It works now. Check it out here: https://jsfiddle.net/gv3dqmju/

  <script src="https://cdn.jsdelivr.net/npm/video.js@7.8.4/dist/video.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/wavesurfer.js@4.0.1/dist/wavesurfer.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/videojs-wavesurfer@3.2.0/dist/videojs.wavesurfer.js"></script>
0reactions
thijstriemstracommented, Aug 10, 2020

awesome, thanks for the feedback.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sound mutes when mic is plugged in - Microsoft Community
Sound mutes when mic is plugged in ; d. Go to 'Compatibility' tab and click ; then select Try recommended setting ; and...
Read more >
My plug-in does not make a sound. What can I do? - UJAM
Make sure the focus from your DAW is on the right track/ plug-in and that the track is not somehow muted! Some DAW's...
Read more >
Audio is muted when I plug in impact controller to pc - Reddit
If you're using windows, navigate to your sound settings and disable the controller's audio device and set your speakers as the default device....
Read more >
NO SOUND IN MY STANDALONE PLUGIN - STL Tones
1. Go to you AUDIO IO menu and confirm that "Mute Audio Input" is disabled, and that your output channels are enabled. 2....
Read more >
Download Free Audio mute plugin: Moot by de la Mancha
Moot is a flexible audio mute plugin with a number of additional features. The aim is to have a mute switch (Hit Me)...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found