Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

LargeVideo.web.js 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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 className = 'video_blurred_container'>
  36. <video
  37. autoPlay = { true }
  38. className = 'video_blurred'
  39. id = 'largeVideoBackground'
  40. muted = 'true' />
  41. </div>
  42. <div id = 'largeVideoWrapper'>
  43. <video
  44. autoPlay = { true }
  45. id = 'largeVideo'
  46. muted = { true } />
  47. </div>
  48. <span id = 'localConnectionMessage' />
  49. <VideoStatusLabel />
  50. <span
  51. className = 'video-state-indicator centeredVideoLabel'
  52. id = 'recordingLabel'>
  53. <span id = 'recordingLabelText' />
  54. <img
  55. className = 'recordingSpinner'
  56. id = 'recordingSpinner'
  57. src = 'images/spin.svg' />
  58. </span>
  59. </div>
  60. );
  61. }
  62. }