Skip to content

Commit 80059f5

Browse files
author
Robert Yawn
committed
Add per-platform "interactive" flag.
1 parent be5bacb commit 80059f5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/connectsdk.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,14 @@ var connectsdk = (function () {
173173

174174
// Default
175175
platforms.Default = {
176+
interactive: false,
176177
init: nop,
177178
sendMessage: nop
178179
};
179180

180181
// webOS
181182
var WebOSCommon = {
183+
interactive: true,
182184
init: function () {
183185
window.addEventListener("keydown", this.onKeyDown.bind(this));
184186

@@ -273,6 +275,7 @@ var connectsdk = (function () {
273275
// Google Cast
274276
platforms.GoogleCast = {
275277
name: "Google Cast",
278+
interactive: false,
276279
init: function () {
277280
this.mediaElement && (window.castMediaManager = new cast.receiver.MediaManager(this.mediaElement));
278281
this.on("mediaElementUpdate", this.onMediaElementUpdate, this);

0 commit comments

Comments
 (0)