[Webkit-unassigned] [Bug 45188] Setting innerHTML to a video element does not respect autoplay

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 15 12:41:00 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=45188





--- Comment #7 from Eric Carlson <eric.carlson at apple.com>  2010-10-15 12:41:01 PST ---
The current behavior is "correct" in as much as both the media element and the tree parser do exactly what the spec requires. 

I chatted with Hixie about this and he will be updating the spec:

Hixie: eric_carlson: ah the problem is that innerHTML technically removes an element from a document and so it blocks autoplay?
...
Hixie: maybe the solution is to only pause() the resource if the element is removed from a document and not reinserted in the same task?
Hixie: actually that makes sense in general
Hixie: forget innerHTML, consider the case of someone moving a video from an iframe to another, or from a window to another
Hixie: you don't want the autoplay to stop working suddenly
...
Hixie: k, i'll file a bug on the spec and get that fixed soon

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list