webcomponent: update iframe source to support recording URL

This commit is contained in:
juancarmore 2025-06-14 13:57:37 +02:00
parent ea1b84d72b
commit c75437ea88

View File

@ -131,7 +131,7 @@ export class OpenViduMeet extends HTMLElement {
} }
private updateIframeSrc() { private updateIframeSrc() {
const baseUrl = this.getAttribute('room-url') || ''; const baseUrl = this.getAttribute('room-url') || this.getAttribute('recording-url');
if (!baseUrl) { if (!baseUrl) {
console.error('The "room-url" attribute is required.'); console.error('The "room-url" attribute is required.');
return; return;