First of all i think that pages that auto-play videos in the background suck in general, i would leave such a page as fast as possible. Kinda has this trashy "we are trying to be flashy at the cost of usability" vibe.
@swkoll said in FAF Website Main Video:
For context, the existing image is already 2.3mb.
And that is why i have used my ad-blocker to block that image, because the image used to load really slowly for me and blocked other parts of the page from working fast. If it is a full HD picture then it should be possible to get it to be under 700KB in size, if you use a good format like JPG at reasonable quality
As for video content, I generally think a better idea would be to embed a Youtube trailer in the page, so that people can decide if they want to pay the data cost. Then there is the simple fact that hosting a video yourself SUCKS. A Youtube video will be
- encoded in the best way possible to be as small as possible
- will auto-downscale the video so that multiple resolutions are available
- will automatically select a good quality level depending on connection
- allows people to easily share that video on social media if it is actually a good trailer
I can tell you right now that you will not be able to get it working well by coding stuff yourself. Just use Youtube, please.