Virtual Tour preloading of images
Submitted by Bibs123 on Fri, 01/20/2023 - 11:50
I was wondering if the Virtual Tour 360° has a preloading function for images so that waiting times are reduced. If yes: does this only work directly in h5p? It seems like the content is loading immediatly when using it with WordPress H5P plugIn but it takes several minutes to start the contenttype when exported as HTML.
I would appreciate a brief feedback on this functionality. Thank you very much in advance.
Sat, 01/21/2023 - 20:22
Hi!I don't think there's any
I don't think there's any pre-loading, but when you run Virtual as regular H5P content, media files will be loaded when needed only, and servers and browsers may cache them to increase speed. If there was some form of pre-loading in Virtual Tour, it would be in the HTML version, too - it's the same code.
If you put everything into one single HTML file, the whole file will need to be loaded before the content can run. Making things even worse: If you put everything into one single file, media files will need to be encoded into the HTML code which will increase the storage space needed for the media by a factor of around 1.5.
So, if there are many media files used, your HTML file should be quite large and I'd not be surprised about bad performance. What file are the numbers in your case?
Tue, 01/24/2023 - 16:14
Hi Oliver,thank you for your
thank you for your summary. That makes so much sense.
The H5P file is already 153 MB in size and the single HTML-file 238 MB.
The H5P file constists of 6 360° Panoram-Pictures and additional Pictures which makes a total of 50 different scenes. So loading times are probably normal. I was just curious. Thank you very much again.
Tue, 01/24/2023 - 20:08
Hey Bianca!Yes, if 238 MB
Yes, if 238 MB need to be loaded before something can start at all, then that might take a while depending on server and client bandwidth.