Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set isMuted to false on load method #1045

Merged
merged 4 commits into from
Apr 7, 2017
Merged

Conversation

entonbiba
Copy link
Contributor

set isMuted to false on new load

#1040

@entonbiba entonbiba added the bug label Mar 16, 2017
@entonbiba
Copy link
Contributor Author

@katspaugh should I add this as an option to allow muting to continue even after loading new audio?

@tomasvilda
Copy link

That would logical too. If I mute wavesurfer object maybe I want it to be muted on new tracks too, until I unmute.

@katspaugh
Copy link
Owner

Sure, let's add it. To me, it seems more logical to actually keep the next tracks muted by default since it's the same instance of the wavesurfer. But it's subjective.

@katspaugh katspaugh merged commit a761eb3 into master Apr 7, 2017
@katspaugh katspaugh deleted the entonbiba-patch-load-method branch April 7, 2017 10:06
@katspaugh
Copy link
Owner

Merged, thanks!

mspae pushed a commit to mspae/wavesurfer.js that referenced this pull request Aug 18, 2017
mspae pushed a commit that referenced this pull request Aug 19, 2017
jonas2515 added a commit to jonas2515/wavesurfer.js that referenced this pull request Dec 11, 2017
* For the WebAudio backend muting already persists
* For the MediaElement backend muting persists since 6b897c4
thijstriemstra pushed a commit that referenced this pull request Dec 22, 2017
…1268)

* MediaElement backend: Update progress on pause events (#1267)
* The progress might not get updated if the playback finishes while another tab is active
* Fix it by updating the progress as soon as the playback is paused
* MediaElement backend: Store volume between media changes
* When loading a new audio file, the volume is reset to 1 because a new MediaElement is created
* With the WebAudio backend the volume stays the same, this should also happen using the MediaElement backend
* Revert "set isMuted to false on load method (#1045)"
* For the WebAudio backend muting already persists
* For the MediaElement backend muting persists since 6b897c4
* add changelog entry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants