1
0
mirror of https://github.com/2ec0b4/kaamelott-soundboard.git synced 2025-12-08 23:53:24 +00:00

Joue / stoppe le son

This commit is contained in:
Antoine
2016-04-21 23:30:41 +02:00
parent 3eeae4e9e2
commit b8fba8535e
3 changed files with 27 additions and 4 deletions

View File

@@ -20,6 +20,8 @@ define(
}
this.audio.play();
this.audio.onended = this.stop.bind(this);
this.audio.onpause = this.stop.bind(this);
this.set('playing', true);
},