Hello,
I have an issue on loading pages with html5 videos in it.
In a page, I have 2 videos inside <video> tags, one is only available in mp4, the other one is available in mp4 and webm.
I have already set an attribut data-loader-timeout on this page.
When loading the page in local, everything is fine but on the server, it seems that the browser wait for the videos end up loading in order to display it.
What is strange is that the DOM is loaded because as of the first milliseconds I can see the scrollbar reducing and the code is there in the inspector, then I wait (white page), then the preloader appears, then it fade out and display the page.
Is it possible that the issue come from the missing webm format video?
Doi you have any idea?
Can you let me know what happen?
An other possible cause could be the functions.js file that is loaded asynchronously. Is it possible that the videos loads before this file is loaded/ran ?
In this case, how can load the videos after the functions.js ?
