We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65612b6 commit fd9d43aCopy full SHA for fd9d43a
packages/audioplayers_web/wechat/main.js
@@ -38,9 +38,9 @@ class MPFlutter_Wechat_AudioElement {
38
this.audioContext.autoplay = true
39
this.audioContext.src = this.src;
40
41
- this.audioContext.onEnded = (e) => {
+ this.audioContext.onEnded((e) => {
42
this.onPlayEnded?.();
43
- }
+ })
44
45
this.audioContext.loop = this.loop;
46
this.audioContext.playbackRate = this.playbackRate;
0 commit comments