Support sending clap events at a specific time in audio mode
This commit is contained in:
parent
5f3f5d0afd
commit
d5182395af
9 changed files with 149 additions and 21 deletions
|
|
@ -22,6 +22,12 @@ export default {
|
|||
return null;
|
||||
},
|
||||
},
|
||||
timelineSet: {
|
||||
type: Object,
|
||||
default: function () {
|
||||
return null;
|
||||
},
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
@ -44,7 +50,7 @@ export default {
|
|||
return this.$audioPlayer.addListener(this._uid, this.event);
|
||||
},
|
||||
play() {
|
||||
this.$audioPlayer.play(this.event);
|
||||
this.$audioPlayer.play(this.event, this.timelineSet);
|
||||
},
|
||||
pause() {
|
||||
this.$audioPlayer.pause(this.event);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue