Closed (fixed)
Project:
Video.js (HTML5 Video Player)
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 May 2012 at 13:32 UTC
Updated:
3 Jun 2013 at 19:20 UTC
The default preload attribute in videojs.tpl.php is set to preload="auto". This is a enormous performance killer on my site. I would consider this as a bad default. However, setting the attribute to preload="none" has no effect. The XXX MB Video still preloads on page load. Is there a corresponding Javscript setting that's forcing the preload? Where can I turn off the preloading behavior?
Comments
Comment #1
Jorrit commentedCan you give the URL where I can see this behavior with preload being none? It may also be browser-dependent, what browser are you using?
Comment #2
ak commentedI think I was overhasty, sorry for that. The Video appears in the browsers network as request but, on second sight with 0kb, so it apparently doesn't download any more until you hit the play button. So the behavior is fine. The only consideration would be if this is a good default? But that's no problem with the provided template.
Comment #3
Jorrit commentedI should make it configurable, thanks for reporting.
Comment #4
Jorrit commentedThis has been added to 7.x-3.x.