added mute/unmute functionality

This commit is contained in:
Kasper Rynning-Tønnesen
2016-11-18 21:26:16 +01:00
parent 4eaedfe621
commit 0ccf943934
7 changed files with 28 additions and 21 deletions

View File

@@ -36,6 +36,12 @@ customMessageBus.onMessage = function(event) {
case "playVideo":
player.playVideo();
break;
case "mute":
player.mute();
break;
case "unMute":
player.unMute();
break;
case "seekTo":
player.seekTo(json_parsed.seekTo);
break;