| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- /* @flow */
-
- import React, { Component } from 'react';
-
- /**
- * Implements a React {@link Component} which represents the filmstrip on
- * Web/React.
- *
- * @extends Component
- */
- export default class Filmstrip extends Component {
- /**
- * Implements React's {@link Component#render()}.
- *
- * @inheritdoc
- * @returns {ReactElement}
- */
- render() {
- return (
- <div className = 'filmstrip'>
- <div
- className = 'filmstrip__videos'
- id = 'remoteVideos'>
- <div
- className = 'filmstrip__videos'
- id = 'filmstripLocalVideo'>
- <span
- className = 'videocontainer'
- id = 'localVideoContainer'>
- <div className = 'videocontainer__background' />
- <span id = 'localVideoWrapper' />
- <audio
- autoPlay = { true }
- id = 'localAudio'
- muted = { true } />
- <div className = 'videocontainer__toolbar' />
- <div className = 'videocontainer__toptoolbar' />
- <div className = 'videocontainer__hoverOverlay' />
- </span>
- </div>
- <div
- className = 'filmstrip__videos'
- id = 'filmstripRemoteVideos'>
- {/*
- * This extra video container is needed for scrolling
- * thumbnails in Firefox; otherwise, the flex
- * thumbnails resize instead of causing overflow.
- */}
- <div
- className = 'remote-videos-container'
- id = 'filmstripRemoteVideosContainer' />
- </div>
- <audio
- id = 'userJoined'
- preload = 'auto'
- src = 'sounds/joined.wav' />
- <audio
- id = 'userLeft'
- preload = 'auto'
- src = 'sounds/left.wav' />
- </div>
- </div>
- );
- }
- }
|