Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(filmstrip): create a specific target for local video appending

Leonard Kim4a90e6dc712c
diff --git a/modules/UI/videolayout/LocalVideo.js b/modules/UI/videolayout/LocalVideo.js
index 2e5233f251..3c1d77c202 100644
--- a/modules/UI/videolayout/LocalVideo.js
+++ b/modules/UI/videolayout/LocalVideo.js
@@ -22,7 +22,7 @@ function LocalVideo(VideoLayout, emitter) {
this.container = this.createContainer();
this.$container = $(this.container);
- $('#filmstripLocalVideo').append(this.container);
+ $('#filmstripLocalVideoThumbnail').append(this.container);
this.localVideoId = null;
this.bindHoverHandler();
diff --git a/react/features/filmstrip/components/Filmstrip.web.js b/react/features/filmstrip/components/Filmstrip.web.js
index 5f5d9326f3..6b34dfccd1 100644
--- a/react/features/filmstrip/components/Filmstrip.web.js
+++ b/react/features/filmstrip/components/Filmstrip.web.js
@@ -111,6 +111,7 @@ class Filmstrip extends Component<*> {
onMouseOut = { this._onMouseOut }
onMouseOver = { this._onMouseOver }>
{ this.props.filmstripOnly ? null : <InviteButton /> }
+ <div id = 'filmstripLocalVideoThumbnail' />
</div>
<div
className = 'filmstrip__videos'