W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > August 2011

[Bug 12596] <video> Explicitly state that preload=none fires a suspend event

From: <bugzilla@jessica.w3.org>
Date: Thu, 18 Aug 2011 09:20:23 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Qtylz-0007kV-UL@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12596

--- Comment #7 from Philip Jägenstedt <philipj@opera.com> 2011-08-18 09:20:22 UTC ---
It seems extremely unlikely that this is actually going to work. As soon as a
few major browsers have implemented preload="none" as not downloading anything
initially, people will write scripts like this:

<video preload=none src=video.webm></video>
<script>
var v = document.querySelector('video');
v.onclick = function() {
  v.onloadedmetadata = function() {
    // create UI using v.duration
  };
  v.play();
};
</script>

Any browser that fires the loadedmetadata event for preload=none will simply
not work. Will you be willing to spec this when it becomes requires for web
compat?

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 18 August 2011 09:20:27 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:17 UTC