|
@@ -151,7 +151,9 @@ export class VideoSource implements Source
|
151
|
151
|
if(video.hidden) {
|
152
|
152
|
video.hidden = false;
|
153
|
153
|
video.style.setProperty('opacity', '0');
|
154
|
|
- video.style.setProperty('position', 'absolute');
|
|
154
|
+ video.style.setProperty('position', 'fixed'); // make sure that it's visible on-screen
|
|
155
|
+ video.style.setProperty('left', '0');
|
|
156
|
+ video.style.setProperty('top', '0');
|
155
|
157
|
//video.style.setProperty('display', 'none'); // doesn't work. Same as video.hidden
|
156
|
158
|
//video.style.setProperty('visibility', 'hidden'); // doesn't work either
|
157
|
159
|
}
|