|
@@ -184,6 +184,17 @@ export class VideoContainer extends LargeContainer {
|
184
|
184
|
this.$video[0].onplay = onPlay;
|
185
|
185
|
}
|
186
|
186
|
|
|
187
|
+ /**
|
|
188
|
+ * Enables a filter on the video which indicates that there are some
|
|
189
|
+ * problems with the media connection.
|
|
190
|
+ *
|
|
191
|
+ * @param {boolean} enable <tt>true</tt> if the filter is to be enabled or
|
|
192
|
+ * <tt>false</tt> otherwise.
|
|
193
|
+ */
|
|
194
|
+ enableVideoProblemFilter (enable) {
|
|
195
|
+ this.$video.toggleClass("videoProblemFilter", enable);
|
|
196
|
+ }
|
|
197
|
+
|
187
|
198
|
/**
|
188
|
199
|
* Get size of video element.
|
189
|
200
|
* @returns {{width, height}}
|