I recently made a site for fun and test it out, it works fine on desktop browser but when I go on my phone the video in the background doesn’t load up and I also tried different browser apps and still it wont display the video.
2 Likes
Thank you for the link! I have moved your post to the Code Help category since this doesn’t look like a Replit bug.
1 Like
Many mobile browsers have limitations for autoplaying videos to protect users’ data usage.
What could help is adding the muted
attribute to your video background. (Some browsers may block videos that aren’t muted from autoplaying).
And the autoplay
attribute. (none of them I saw in your html).
The video codec may be a problem too so I’d suggest encoding your video to H.264 codec.
3 Likes
alright thank you I will try these changes and see if it works or not