From 5dd0ba3e589564ff3fa422ff5677f02c8d1dae15 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 23 Aug 2024 17:39:41 +0800 Subject: [PATCH] bugfix --- bricks/rtc.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bricks/rtc.js b/bricks/rtc.js index 077af21..5b600f1 100644 --- a/bricks/rtc.js +++ b/bricks/rtc.js @@ -51,6 +51,9 @@ bricks.RTCClient = class extends bricks.VBox { this.remoteVideo.set_style('width','25%'); this.remoteVideo.set_style('height','25%'); this.remoteVodeo.set_style('zIndex', 2); + this.remoteVodeo.set_style('position', 'absolute'); + this.remoteVodeo.set_style('bottom', '5px'); + this.remoteVodeo.set_style('right', '5px'); } else { this.local_small = true; this.remoteVideo.set_style('width','100%'); @@ -59,6 +62,9 @@ bricks.RTCClient = class extends bricks.VBox { this.localVideo.set_style('width','25%'); this.localVideo.set_style('height','25%'); this.localVodeo.set_style('zIndex', 2); + this.localVodeo.set_style('position', 'absolute'); + this.localVodeo.set_style('bottom', '5px'); + this.localVodeo.set_style('right', '5px'); } }