Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(thumbnail) Fix broken video for thumbnail. Fixes a regression introduced by https://github.com/jitsi/jitsi-meet/commit/466a36dc93bb19cbc66ed788427e5efb3130ba33
Jaya Allamsetty56d2af197e08
diff --git a/react/features/filmstrip/components/web/Thumbnail.tsx b/react/features/filmstrip/components/web/Thumbnail.tsxindex d0ce7b67f4..7f9948f082 100644--- a/react/features/filmstrip/components/web/Thumbnail.tsx+++ b/react/features/filmstrip/components/web/Thumbnail.tsx@@ -434,6 +434,7 @@ class Thumbnail extends Component<IProps, IState> {this.timeoutHandle = undefined;this.containerRef = createRef<HTMLSpanElement>();this._clearDoubleClickTimeout = this._clearDoubleClickTimeout.bind(this);+ this._onCanPlay = this._onCanPlay.bind(this);this._onClick = this._onClick.bind(this);this._onTogglePinButtonKeyDown = this._onTogglePinButtonKeyDown.bind(this);this._onFocus = this._onFocus.bind(this);@@ -997,6 +998,15 @@ class Thumbnail extends Component<IProps, IState> {);}+ /**+ * Canplay event listener.+ *+ * @returns {void}+ */+ _onCanPlay() {+ this.setState({ canPlayEventReceived: true });+ }+/*** Renders a remote participant's 'thumbnail.*@@ -1038,6 +1048,8 @@ class Thumbnail extends Component<IProps, IState> {styles.thumbnail.height = styles.thumbnail.width;containerClassName = `${containerClassName} self-view-mobile-portrait`;}+ } else {+ videoEventListeners.onCanPlay = this._onCanPlay;}const video = _videoTrack && <VideoTrack