You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

LargeVideo.web.js 1.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /* @flow */
  2. import React, { Component } from 'react';
  3. import { Watermarks } from '../../base/react';
  4. import { VideoStatusLabel } from '../../video-status-label';
  5. /**
  6. * Implements a React {@link Component} which represents the large video (a.k.a.
  7. * the conference participant who is on the local stage) on Web/React.
  8. *
  9. * @extends Component
  10. */
  11. export default class LargeVideo extends Component {
  12. /**
  13. * Implements React's {@link Component#render()}.
  14. *
  15. * @inheritdoc
  16. * @returns {ReactElement}
  17. */
  18. render() {
  19. return (
  20. <div
  21. className = 'videocontainer'
  22. id = 'largeVideoContainer'>
  23. <div id = 'sharedVideo'>
  24. <div id = 'sharedVideoIFrame' />
  25. </div>
  26. <div id = 'etherpad' />
  27. <Watermarks />
  28. <div id = 'dominantSpeaker'>
  29. <div className = 'dynamic-shadow' />
  30. <img
  31. id = 'dominantSpeakerAvatar'
  32. src = '' />
  33. </div>
  34. <span id = 'remoteConnectionMessage' />
  35. <div id = 'largeVideoWrapper'>
  36. <video
  37. autoPlay = { true }
  38. id = 'largeVideo'
  39. muted = { true } />
  40. </div>
  41. <span id = 'localConnectionMessage' />
  42. <VideoStatusLabel />
  43. <span
  44. className = 'video-state-indicator centeredVideoLabel'
  45. id = 'recordingLabel'>
  46. <span id = 'recordingLabelText' />
  47. <img
  48. className = 'recordingSpinner'
  49. id = 'recordingSpinner'
  50. src = 'images/spin.svg' />
  51. </span>
  52. </div>
  53. );
  54. }
  55. }