You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using media filters to list 50 videos, the page load is very slow and feels buggy (I was using Firefox). Using dev tools, I measured that 22Mo where downloaded only to get the videos duration and poster. And it took around 10 seconds.
I don't think this could be an expected behavior.
To solve this, we need to disallow the browser from fetching the video metadata.
This can be done in HTML by setting the preload attribute to none.
By using individual HTML code file, editors can manually add this attribute, but not using Media lists function.
Or maybe if I want some kind of "smart" feature, I could use artificial intelligence count the number of video in the media list or even in the whole page, and add that attribute if there is over 10 videos. (It looks like something the browser itself should do)
Even smarter, and easier to code: after the 10th video, set preload to none. That way, only the 10 first videos of the HTML will be loaded. (hoping that those are the first seen on the page 🤭😋) LoL, it's a bit too smart.
As this ideas may broke web designs, I don't think it's a good idea.
A parameter in media list function, with default to none sound like a better idea to let full control to editors.
The text was updated successfully, but these errors were encountered:
While using media filters to list 50 videos, the page load is very slow and feels buggy (I was using Firefox). Using dev tools, I measured that 22Mo where downloaded only to get the videos duration and poster. And it took around 10 seconds.
I don't think this could be an expected behavior.
To solve this, we need to disallow the browser from fetching the video metadata.
This can be done in HTML by setting the
preload
attribute tonone
.By using individual HTML code file, editors can manually add this attribute, but not using Media lists function.
Or maybe if I want some kind of "smart" feature, I could
use artificial intelligencecount the number of video in the media list or even in the whole page, and add that attribute if there is over 10 videos. (It looks like something the browser itself should do)Even smarter, and easier to code: after the 10th video, set
preload
tonone
. That way, only the 10 first videos of the HTML will be loaded. (hoping that those are the first seen on the page 🤭😋) LoL, it's a bit too smart.As this ideas may broke web designs, I don't think it's a good idea.
A parameter in media list function, with default to
none
sound like a better idea to let full control to editors.The text was updated successfully, but these errors were encountered: