firefox preload none
Background: I have a couple thousand video links in a page to videos stored on the local memory. The page loads in Chrome in a few seconds but loads in over a minute in Firefox.
I read here... https://hacks.mozilla.org/2010/08/video_preload_attribute/
that I should remove the line... controls preload="none"
Even with removing that line from each video it takes fifteen seconds to load the page... which is five times longer than Chrome.
Is there a way to make the page loading comparable in speed to Chrome? Maybe it is still going slower than Chrome because the default still buffers the first frame of each video? Is there a way to tell FF to not buffer the first frame of the video? I only link to the videos ... so don't need the first frame buffered.
It would be nice if the solution would enable the html to be compatible with Chrome as well. I use the page on both Windows and Android platforms.
ప్రత్యుత్తరాలన్నీ (4)
If you have a page of links (<a href>), I don't understand why you would have any video tags that would have or not have a preload attribute.
Here is a typical video link of the approx 2,000 on the page...
<input type="checkbox" name="chk" id="0024_air1---chkbx"> <a href="video/ 0024_air1.mp4 " id=" 0024_air1 "> air1 </a> ~~ L-air ~~ aire ~~~ n. air – atmosphere [above 14,000 feet the air is thin]
Here are the page load times and memory usage with and without ... controls preload="none"
Win7 With MB Without MB Chrome 2s 169 Crashes <3GB Firefox 16s 500+ 5s <3GB
Android Chrome 2s ? 2s ? Firefox 68s ? 14s ?
Chrome seems to not preload the video content of the links but Firefox does with or without the preload="none".
Is this the correct place to ask questions about Firefox... or is there another place?
It just seems odd that Firefox would have such a large memory leak like this. I wonder how many Firefox installations worldwide are wasting user's precious mobile data unknowingly. If just opening a page loaded with href videos starts preloading all the videos on the page... that's not good.
If someone parked for a few minutes on my page with 2,000 video hrefs for a few minutes, not only would they use up half of their monthly 3GB of data on their phone plan but their phone would seriously slow down.
In need some advice on how to tweak my html so that I don't let Firefox preload all my video hrefs.
Your code includes video players, not just links to videos.
<video name="v" id="0024_air1" style="display:none" controls preload="none"><source src="video/0024_air1.mp4" type="video/mp4">No support HTML5 video.</video>
But preload="none" should work. For example, open the Network Monitor in the lower part of a tab (Ctrl+Shift+e) then load this demo page into that tab to see the difference between not specifying preload and setting it to none:
https://www.jeffersonscher.com/res/videopreload.html
This forum is not focused on developer issues. The following article has suggestions: Where to go for developer support.