We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 197922a commit 928bfd6Copy full SHA for 928bfd6
scripts/connectsdk.js
@@ -570,6 +570,22 @@ var connectsdk = (function () {
570
}
571
572
});
573
+ } else if (commandType === 'playMedia')
574
+ {
575
+ // todo: need to handle all of these params
576
+ mediaElement.src = message.payload.mediaCommand.mediaURL;
577
+
578
+ this._send({
579
+ type: 'p2p',
580
+ to: from,
581
+ payload: {
582
+ contentType: 'connectsdk.mediaCommandResponse',
583
+ mediaCommandResponse: {
584
+ type: commandType,
585
+ requestId:requestId
586
+ }
587
588
+ });
589
590
} else
591
{
0 commit comments