diff --git a/src/lib/__tests__/index.unit.js b/src/lib/__tests__/index.unit.js index c482fb0b..d153de01 100644 --- a/src/lib/__tests__/index.unit.js +++ b/src/lib/__tests__/index.unit.js @@ -37,6 +37,7 @@ describe("@whereby/browser-sdk", () => { "virtualbackgroundurl", "avatarurl", "externalid", + "title", "audio", "background", "cameraaccess", diff --git a/src/lib/index.js b/src/lib/index.js index 3225c1c1..3ad0fb35 100644 --- a/src/lib/index.js +++ b/src/lib/index.js @@ -49,6 +49,7 @@ define("WherebyEmbed", { "virtualBackgroundUrl", "avatarUrl", "externalId", + "title", ...boolAttrs, ].map((a) => a.toLowerCase()), onattributechanged({ attributeName, oldValue }) { @@ -115,6 +116,7 @@ define("WherebyEmbed", { room, groups, virtualbackgroundurl: virtualBackgroundUrl, + title, } = this; let roomUrl, subdomain; @@ -151,6 +153,7 @@ define("WherebyEmbed", { }); this.html`