[Bug 11243] we should have a media element best practices section

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11243

Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #1 from Ian 'Hixie' Hickson <ian@hixie.ch> 2010-11-05 22:46:17 UTC ---
For example:

 - when you're done with a video, it's good practice to release resources by
removing src="" and <source> and calling load().

 - when implementing the 'buffered' API, how precise you are is a quality of
implementation issue, but it's better to be conservative than optimistic (i.e.
don't say you've buffered everything when you haven't).

 - you can drop buffered data at any time

 - when a media element is removed from a document and not reinserted by the
time the event loop spins, it's a good time to release all hardware resources
(like video planes, networking, buffer)

-- 
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 Friday, 5 November 2010 22:46:19 UTC