webcomponent: update iframe source to support recording URL
This commit is contained in:
parent
ea1b84d72b
commit
c75437ea88
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user