Page 1 of 1

Preloaded VDO File

Posted: Mon Oct 29, 2018 8:29 am
by Kavin
I have attached vdo file into the panorama, but somehow the loading time is quite slow, user may not be noticed that there is vdo file attached.

Is there any way to preloaded the vdo or any other suggestion for this issue?

Re: Preloaded VDO File

Posted: Tue Oct 30, 2018 2:13 pm
by Hopki
Hi Kavin,
Can you give me a bit more information about your project, are you pinning. video to the pano or are you using a 360 video?
Better will be a link to the project.
Regards,
Hopki

Re: Preloaded VDO File

Posted: Tue Oct 30, 2018 2:53 pm
by Kavin
Hopki,

My project: http://idisplay.co.th/resort/ (video files are attached in the last four panos) it's html5, the issue was, video file didn't show while being loaded, so visitor may not noticed about it. So, I have reduced the size of video files as much as possible, I think this should be a lot more smoother when moving to the pano that attached video files,

But for the future reference, if media file is a bit large, What is the work around for this issue?

***I did some research, the preload and prefetch attribute is one of the option, but I don't know this would be good idea.

Re: Preloaded VDO File

Posted: Tue Oct 30, 2018 4:08 pm
by Hopki
Hi,
The video files are very small in your project and don't see them being a problem unless you have very slow internet speed.
I don't think preloading videos is a good idea, the reason is the browser can only cache so much, so if you're loading lots of images it may unload the video if it's not used for a while.
If you use something like Handbrake as set for web optimisation this will help in playing faster.
Regards,
Hopki