Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1.3k
Commit51ff309
authored
Fix: fix Android chrome mobile not rendering html <video> element (#1938)
There is an issue in chrome mobile where, if the video element tag isoutside of the visible viewport, the video won't be rendered (willappear as black).That can happen if the added video tag just happens to go in the bottomof a body, and whatever relative elements exists before pushes itoutside of the viewport boundaryhttps://github.com/user-attachments/assets/a0ef4506-7642-4fbd-a68e-dfc0d3798d5cThis fix forces the position html video element (that is already anabsoltue element) to be on the top left so it stays on screen and thusis rendered by chrome mobile not depending of the contents of the htmlitself.---I've tested this and it only happens specifically in Androrid-Chromecombocc@kNoAPP that helped find where in the code the html element wascreated1 parentf358f76 commit51ff309
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
| 350 | + | |
| 351 | + | |
350 | 352 | | |
351 | 353 | | |
352 | 354 | | |
| |||
0 commit comments
Comments
(0)