mirror of
https://github.com/calzoneman/sync.git
synced 2024-09-13 04:32:09 +00:00
Fix Nicovideo methods
This commit is contained in:
parent
9bd8fee92f
commit
24fdc3639a
@ -206,7 +206,7 @@ class NicovideoEmbed {
|
||||
}
|
||||
|
||||
mute(state){
|
||||
this.postMessage({ eventName: 'pause', data: { mute: state } });
|
||||
this.postMessage({ eventName: 'mute', data: { mute: state } });
|
||||
}
|
||||
|
||||
pause(){
|
||||
@ -226,7 +226,7 @@ class NicovideoEmbed {
|
||||
}
|
||||
|
||||
volumeChange(volume){
|
||||
this.postMessage({ eventName: 'pause', data: { volume } });
|
||||
this.postMessage({ eventName: 'volumeChange', data: { volume } });
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user