12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- /* @flow */
-
- import React, { Component } from 'react';
-
- import { Watermarks } from '../../base/react';
- import { VideoQualityLabel } from '../../video-quality';
- import { RecordingLabel } from '../../recording';
-
- declare var interfaceConfig: Object;
-
- /**
- * Implements a React {@link Component} which represents the large video (a.k.a.
- * the conference participant who is on the local stage) on Web/React.
- *
- * @extends Component
- */
- export default class LargeVideo extends Component<*> {
- /**
- * Implements React's {@link Component#render()}.
- *
- * @inheritdoc
- * @returns {ReactElement}
- */
- render() {
- return (
- <div
- className = 'videocontainer'
- id = 'largeVideoContainer'>
- <div id = 'sharedVideo'>
- <div id = 'sharedVideoIFrame' />
- </div>
- <div id = 'etherpad' />
-
- <Watermarks />
-
- <div id = 'dominantSpeaker'>
- <div className = 'dynamic-shadow' />
- <img
- id = 'dominantSpeakerAvatar'
- src = '' />
- </div>
- <div id = 'remotePresenceMessage' />
- <span id = 'remoteConnectionMessage' />
- <div>
- <div className = 'video_blurred_container'>
- <video
- autoPlay = { true }
- id = 'largeVideoBackground'
- muted = 'true' />
- </div>
- {
-
- /**
- * FIXME: the architecture of elements related to the
- * large video and the naming. The background is not
- * part of largeVideoWrapper because we are controlling
- * the size of the video through largeVideoWrapper.
- * That's why we need another container for the the
- * background and the largeVideoWrapper in order to
- * hide/show them.
- */
- }
- <div id = 'largeVideoWrapper'>
- <video
- autoPlay = { true }
- id = 'largeVideo'
- muted = { true } />
- </div>
- </div>
- <span id = 'localConnectionMessage' />
- { interfaceConfig.filmStripOnly ? null : <VideoQualityLabel /> }
- <RecordingLabel />
- </div>
- );
- }
- }
|