diff --git a/frontend/webcomponent/src/components/OpenViduMeet.ts b/frontend/webcomponent/src/components/OpenViduMeet.ts index 847223d..9e7f0ae 100644 --- a/frontend/webcomponent/src/components/OpenViduMeet.ts +++ b/frontend/webcomponent/src/components/OpenViduMeet.ts @@ -133,7 +133,7 @@ export class OpenViduMeet extends HTMLElement { private updateIframeSrc() { const baseUrl = this.getAttribute('room-url') || this.getAttribute('recording-url'); if (!baseUrl) { - console.error('The "room-url" attribute is required.'); + console.error('The "room-url" or "recording-url" attribute is required.'); return; } @@ -143,7 +143,7 @@ export class OpenViduMeet extends HTMLElement { // Update query params Array.from(this.attributes).forEach((attr) => { - if (attr.name !== 'room-url') { + if (attr.name !== 'room-url' && attr.name !== 'recording-url') { url.searchParams.set(attr.name, attr.value); } });