forked from katspaugh/wavesurfer.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trigger "waveform-ready" event whenever waveform peaks are drawn (kat…
…spaugh#2077) * trigger waveform-ready event after peaks are draw, when peaks are provided and backend is of type MediaElement and MediaElementBackend * updated changelog * unit test for waveform-ready event * - fixed constants names - added comments - unit test with a jasmine spy, to assert that waveform-ready event is triggered only once * fire waveform-ready in loadBuffer Signed-off-by: Bjorn Westergard <bjornw@gmail.com> * fix assertion inherited from upstream that credentials would be "same-origin" Signed-off-by: Bjorn Westergard <bjornw@gmail.com> * switch back to "same-origin" in test to see if it passes in CI Signed-off-by: Bjorn Westergard <bjornw@gmail.com> * explanatory comment Signed-off-by: Bjorn Westergard <bjornw@gmail.com> * Move CHANGELOG entry to Next. Signed-off-by: Bjorn Westergard <bjornw@gmail.com> * add emit annotations Signed-off-by: Bjorn Westergard <bjornw@gmail.com> * camelCase the event name Signed-off-by: Bjorn Westergard <bjornw@gmail.com> * update test description Signed-off-by: Bjorn Westergard <bjornw@gmail.com> * fix event name Signed-off-by: Bjorn Westergard <bjornw@gmail.com> * use fetchFile Signed-off-by: Bjorn Westergard <bjornw@gmail.com> * add word "stereo" Signed-off-by: Bjorn Westergard <bjornw@gmail.com> * issue number Signed-off-by: Bjorn Westergard <bjornw@gmail.com> * tests passing Signed-off-by: Bjorn Westergard <bjornw@gmail.com> Co-authored-by: marizuccara <mari.zuccara@gmail.com>
- Loading branch information
1 parent
1a8fea7
commit 3f47239
Showing
7 changed files
with
63 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters