| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 | 
							- /* global $ */
 - 
 - import SmallVideo from '../videolayout/SmallVideo';
 - 
 - const logger = require('jitsi-meet-logger').getLogger(__filename);
 - 
 - /**
 -  *
 -  */
 - export default class SharedVideoThumb extends SmallVideo {
 -     /**
 -      *
 -      * @param {*} participant
 -      * @param {*} videoType
 -      * @param {*} VideoLayout
 -      */
 -     constructor(participant, videoType, VideoLayout) {
 -         super(VideoLayout);
 -         this.id = participant.id;
 -         this.isLocal = false;
 -         this.url = participant.id;
 -         this.setVideoType(videoType);
 -         this.videoSpanId = 'sharedVideoContainer';
 -         this.container = this.createContainer(this.videoSpanId);
 -         this.$container = $(this.container);
 -         this._setThumbnailSize();
 -         this.bindHoverHandler();
 -         this.isVideoMuted = true;
 -         this.updateDisplayName();
 -         this.container.onclick = this._onContainerClick;
 -     }
 - 
 -     /**
 -      *
 -      */
 -     initializeAvatar() {} // eslint-disable-line no-empty-function
 - 
 -     /**
 -      *
 -      * @param {*} spanId
 -      */
 -     createContainer(spanId) {
 -         const container = document.createElement('span');
 - 
 -         container.id = spanId;
 -         container.className = 'videocontainer';
 - 
 -         // add the avatar
 -         const avatar = document.createElement('img');
 - 
 -         avatar.className = 'sharedVideoAvatar';
 -         avatar.src = `https://img.youtube.com/vi/${this.url}/0.jpg`;
 -         container.appendChild(avatar);
 - 
 -         const displayNameContainer = document.createElement('div');
 - 
 -         displayNameContainer.className = 'displayNameContainer';
 -         container.appendChild(displayNameContainer);
 - 
 -         const remoteVideosContainer
 -             = document.getElementById('filmstripRemoteVideosContainer');
 -         const localVideoContainer
 -             = document.getElementById('localVideoTileViewContainer');
 - 
 -         remoteVideosContainer.insertBefore(container, localVideoContainer);
 - 
 -         return container;
 -     }
 - 
 -     /**
 -      * Triggers re-rendering of the display name using current instance state.
 -      *
 -      * @returns {void}
 -      */
 -     updateDisplayName() {
 -         if (!this.container) {
 -             logger.warn(`Unable to set displayName - ${this.videoSpanId
 -             } does not exist`);
 - 
 -             return;
 -         }
 - 
 -         this._renderDisplayName({
 -             elementID: `${this.videoSpanId}_name`,
 -             participantID: this.id
 -         });
 -     }
 - }
 
 
  |