This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
On Wed, 23 Jan 2013, Robert O'Callahan wrote: > > In Gecko we have implemented a prototype extension to media elements: the > srcObject attribute (currently prefixed). Thus an author can simply write > "element.srcObject = object". (Currently this only works for MediaStream > objects, but the other types are not difficult to support.) This is simpler > for authors, allows recovery of the source object, and most importantly > allows the resource to be managed automatically by standard garbage > collection. > > Setting srcObject mostly behaves "just like" setting 'src' to > createObjectURL(object). However, 'src' and its corresponding content > attribute are not affected. The rules for choosing a media resource are > modified to check 'srcObject' before 'src'.
In this proposal, what should currentSrc return?
currentSrc returns the empty string.
media.srcObject exists now. Reassigning to zcorpan to consider this for <img>.
mozSrcObject is not implemented on <img> in Gecko. Is there impl interest for <img>?
AFAIK it's not a priority at the moment but it seems like a logical thing to implement at some point.
Updated title to reflect current state.
https://github.com/whatwg/html/issues/3972