|
@@ -106,35 +106,7 @@ class Conference extends Component {
|
106
|
106
|
src = 'images/spin.svg' />
|
107
|
107
|
</span>
|
108
|
108
|
</div>
|
109
|
|
- <div className = 'filmstrip'>
|
110
|
|
- <div
|
111
|
|
- className = 'filmstrip__videos'
|
112
|
|
- id = 'remoteVideos'>
|
113
|
|
- <span
|
114
|
|
- className = 'videocontainer'
|
115
|
|
- id = 'localVideoContainer'>
|
116
|
|
- <div className = 'videocontainer__background' />
|
117
|
|
- <span id = 'localVideoWrapper' />
|
118
|
|
- <audio
|
119
|
|
- autoPlay = { true }
|
120
|
|
- id = 'localAudio'
|
121
|
|
- muted = { true } />
|
122
|
|
- <div className = 'videocontainer__toolbar' />
|
123
|
|
- <div className = 'videocontainer__toptoolbar' />
|
124
|
|
- <div
|
125
|
|
- className
|
126
|
|
- = 'videocontainer__hoverOverlay' />
|
127
|
|
- </span>
|
128
|
|
- <audio
|
129
|
|
- id = 'userJoined'
|
130
|
|
- preload = 'auto'
|
131
|
|
- src = 'sounds/joined.wav' />
|
132
|
|
- <audio
|
133
|
|
- id = 'userLeft'
|
134
|
|
- preload = 'auto'
|
135
|
|
- src = 'sounds/left.wav' />
|
136
|
|
- </div>
|
137
|
|
- </div>
|
|
109
|
+ { this._renderFilmstrip() }
|
138
|
110
|
</div>
|
139
|
111
|
|
140
|
112
|
<DialogContainer />
|
|
@@ -143,6 +115,66 @@ class Conference extends Component {
|
143
|
115
|
</div>
|
144
|
116
|
);
|
145
|
117
|
}
|
|
118
|
+
|
|
119
|
+ /**
|
|
120
|
+ * Creates a React Element for displaying filmstrip videos.
|
|
121
|
+ *
|
|
122
|
+ * @private
|
|
123
|
+ * @returns {ReactElement}
|
|
124
|
+ */
|
|
125
|
+ _renderFilmstrip() {
|
|
126
|
+ return (
|
|
127
|
+ <div className = 'filmstrip'>
|
|
128
|
+ <div
|
|
129
|
+ className = 'filmstrip__videos'
|
|
130
|
+ id = 'remoteVideos'>
|
|
131
|
+ <div
|
|
132
|
+ className = 'filmstrip__videos'
|
|
133
|
+ id = 'filmstripLocalVideo'>
|
|
134
|
+ <span
|
|
135
|
+ className = 'videocontainer'
|
|
136
|
+ id = 'localVideoContainer'>
|
|
137
|
+ <div className = 'videocontainer__background' />
|
|
138
|
+ <span id = 'localVideoWrapper' />
|
|
139
|
+ <audio
|
|
140
|
+ autoPlay = { true }
|
|
141
|
+ id = 'localAudio'
|
|
142
|
+ muted = { true } />
|
|
143
|
+ <div className = 'videocontainer__toolbar' />
|
|
144
|
+ <div className = 'videocontainer__toptoolbar' />
|
|
145
|
+ <div
|
|
146
|
+ className
|
|
147
|
+ = 'videocontainer__hoverOverlay' />
|
|
148
|
+ </span>
|
|
149
|
+ </div>
|
|
150
|
+ <div
|
|
151
|
+ className = 'filmstrip__videos'
|
|
152
|
+ id = 'filmstripRemoteVideos'>
|
|
153
|
+ {
|
|
154
|
+
|
|
155
|
+ /*
|
|
156
|
+ This extra video container is needed for
|
|
157
|
+ scrolling thumbnails in firefox, otherwise the
|
|
158
|
+ flex thumbnails resize instead of causing
|
|
159
|
+ overflow.
|
|
160
|
+ */
|
|
161
|
+ }
|
|
162
|
+ <div
|
|
163
|
+ className = 'remote-videos-container'
|
|
164
|
+ id = 'filmstripRemoteVideosContainer' />
|
|
165
|
+ </div>
|
|
166
|
+ <audio
|
|
167
|
+ id = 'userJoined'
|
|
168
|
+ preload = 'auto'
|
|
169
|
+ src = 'sounds/joined.wav' />
|
|
170
|
+ <audio
|
|
171
|
+ id = 'userLeft'
|
|
172
|
+ preload = 'auto'
|
|
173
|
+ src = 'sounds/left.wav' />
|
|
174
|
+ </div>
|
|
175
|
+ </div>
|
|
176
|
+ );
|
|
177
|
+ }
|
146
|
178
|
}
|
147
|
179
|
|
148
|
180
|
export default reactReduxConnect()(Conference);
|