Merge pull request #932 from jitsi/fix_jibri
fix(FilmStrip): Add check for thumbnails
This commit is contained in:
commit
a35e194a2d
|
@ -216,24 +216,24 @@ const FilmStrip = {
|
||||||
|
|
||||||
return new Promise(resolve => {
|
return new Promise(resolve => {
|
||||||
let thumbs = this.getThumbs(!forceUpdate);
|
let thumbs = this.getThumbs(!forceUpdate);
|
||||||
|
if(thumbs.localThumb)
|
||||||
thumbs.localThumb.animate({
|
thumbs.localThumb.animate({
|
||||||
height: local.thumbHeight,
|
height: local.thumbHeight,
|
||||||
width: local.thumbWidth
|
width: local.thumbWidth
|
||||||
}, {
|
}, {
|
||||||
queue: false,
|
queue: false,
|
||||||
duration: animate ? 500 : 0,
|
duration: animate ? 500 : 0,
|
||||||
complete: resolve
|
complete: resolve
|
||||||
});
|
});
|
||||||
|
if(thumbs.remoteThumbs)
|
||||||
thumbs.remoteThumbs.animate({
|
thumbs.remoteThumbs.animate({
|
||||||
height: remote.thumbHeight,
|
height: remote.thumbHeight,
|
||||||
width: remote.thumbWidth
|
width: remote.thumbWidth
|
||||||
}, {
|
}, {
|
||||||
queue: false,
|
queue: false,
|
||||||
duration: animate ? 500 : 0,
|
duration: animate ? 500 : 0,
|
||||||
complete: resolve
|
complete: resolve
|
||||||
});
|
});
|
||||||
|
|
||||||
this.filmStrip.animate({
|
this.filmStrip.animate({
|
||||||
// adds 2 px because of small video 1px border
|
// adds 2 px because of small video 1px border
|
||||||
|
|
Loading…
Reference in New Issue