File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -213,9 +213,9 @@ class RTCVideoRenderer extends ValueNotifier<RTCVideoValue>
213
213
return div as web.HTMLDivElement ;
214
214
}
215
215
216
- web.VideoElement ? findHtmlView () {
216
+ web.HTMLVideoElement ? findHtmlView () {
217
217
final element = web.document.getElementById (_elementIdForVideo);
218
- if (null != element) return element as web.VideoElement ;
218
+ if (null != element) return element as web.HTMLVideoElement ;
219
219
return null ;
220
220
}
221
221
@@ -261,7 +261,7 @@ class RTCVideoRenderer extends ValueNotifier<RTCVideoValue>
261
261
}
262
262
_subscriptions.clear ();
263
263
264
- final element = web.VideoElement ()
264
+ final element = web.HTMLVideoElement ()
265
265
..autoplay = true
266
266
..muted = true
267
267
..controls = false
@@ -311,7 +311,7 @@ class RTCVideoRenderer extends ValueNotifier<RTCVideoValue>
311
311
});
312
312
}
313
313
314
- void _applyDefaultVideoStyles (web.VideoElement element) {
314
+ void _applyDefaultVideoStyles (web.HTMLVideoElement element) {
315
315
// Flip the video horizontally if is mirrored.
316
316
if (mirror) {
317
317
element.style.transform = 'scaleX(-1)' ;
You can’t perform that action at this time.
0 commit comments