I am redoing a 10 year old website which sells land plots.
I am thinking of a rather large image-banner (scenic foto) which would occupy most of the screen.
Now, depending on the internet speed of the client:
A. is there a way of measuring his particular internet bandwidth (using php or something, I do not know)?
B. if the image loading speed/internet bandwidth is good, could one replace the image with a short video, which would have the same first take exactly the same as the image, i.e. depending on the internet connection either an image only would be displayed, or the image would be replaced by a video...
Any suggestions?
dl_speed = (time_end - time_start)... For (B) You can use Javascript to define a video object and image object. after knowing which one must be added to the page, you first give the image/video asrcto load, then add it to page usingappendChild. Try something and ask a new question about that attempt if it gives problems.