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

Instead of targetting a div that contains multiple elements
and risking the elements appearing out of order, create a
specific div for local video to append to.
pull/2126/head jitsi-meet_2605
Leonard Kim 8 years ago committed by yanas
parent 90070d9e9f
commit 4a90e6dc71
  1. 2
      modules/UI/videolayout/LocalVideo.js
  2. 1
      react/features/filmstrip/components/Filmstrip.web.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();

@ -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'

Loading…
Cancel
Save