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