Fixes undefined error and shared video.

This commit is contained in:
damencho 2016-10-27 14:08:06 -05:00
parent 2807346bdf
commit 328ff54423
2 changed files with 3 additions and 2 deletions

View File

@ -625,7 +625,7 @@ function SharedVideoThumb (url)
this.videoSpanId = "sharedVideoContainer"; this.videoSpanId = "sharedVideoContainer";
this.container = this.createContainer(this.videoSpanId); this.container = this.createContainer(this.videoSpanId);
this.container.onclick = this.videoClick.bind(this); this.container.onclick = this.videoClick.bind(this);
this.bindHoverHandler();
SmallVideo.call(this, VideoLayout); SmallVideo.call(this, VideoLayout);
this.isVideoMuted = true; this.isVideoMuted = true;
} }

View File

@ -471,7 +471,8 @@ SmallVideo.prototype.selectDisplayMode = function() {
*/ */
SmallVideo.prototype._isHovered = function () { SmallVideo.prototype._isHovered = function () {
return this.videoIsHovered return this.videoIsHovered
|| this.connectionIndicator.popover.popoverIsHovered; || (this.connectionIndicator
&& this.connectionIndicator.popover.popoverIsHovered);
}; };
/** /**