feat(remotecontrol): Implement basic remote control support

This commit is contained in:
hristoterezov
2017-01-23 15:29:25 -06:00
parent db5010be9d
commit 896650d005
6 changed files with 387 additions and 4 deletions
+8
View File
@@ -201,6 +201,14 @@ export default {
triggerEvent("video-ready-to-close", {});
},
/**
* Sends remote control event.
* @param {object} event the event.
*/
sendRemoteControlEvent(event) {
sendMessage({method: "remote-control-event", params: event});
},
/**
* Removes the listeners.
*/