Bladeren bron

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.
j8
Leonard Kim 8 jaren geleden
bovenliggende
commit
4a90e6dc71
2 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 1
    1
      modules/UI/videolayout/LocalVideo.js
  2. 1
    0
      react/features/filmstrip/components/Filmstrip.web.js

+ 1
- 1
modules/UI/videolayout/LocalVideo.js Bestand weergeven

22
 
22
 
23
     this.container = this.createContainer();
23
     this.container = this.createContainer();
24
     this.$container = $(this.container);
24
     this.$container = $(this.container);
25
-    $('#filmstripLocalVideo').append(this.container);
25
+    $('#filmstripLocalVideoThumbnail').append(this.container);
26
 
26
 
27
     this.localVideoId = null;
27
     this.localVideoId = null;
28
     this.bindHoverHandler();
28
     this.bindHoverHandler();

+ 1
- 0
react/features/filmstrip/components/Filmstrip.web.js Bestand weergeven

111
                         onMouseOut = { this._onMouseOut }
111
                         onMouseOut = { this._onMouseOut }
112
                         onMouseOver = { this._onMouseOver }>
112
                         onMouseOver = { this._onMouseOver }>
113
                         { this.props.filmstripOnly ? null : <InviteButton /> }
113
                         { this.props.filmstripOnly ? null : <InviteButton /> }
114
+                        <div id = 'filmstripLocalVideoThumbnail' />
114
                     </div>
115
                     </div>
115
                     <div
116
                     <div
116
                         className = 'filmstrip__videos'
117
                         className = 'filmstrip__videos'

Laden…
Annuleren
Opslaan