Closed Bug 472878 Opened 16 years ago Closed 16 years ago

autoplay, not-in-document <video> element does not play

Categories

(Core :: Audio/Video, defect)

x86
macOS
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: roc, Assigned: roc)

References

()

Details

(Keywords: verified1.9.1)

Attachments

(1 file)

Load http://nerget.com/canvas/?paddy.ogg#abc. Nothing happens. The video should load and then play, being rendered with a JS filter in the canvas, but nothing seems to ever happen.
Flags: blocking1.9.1?
Flags: blocking1.9.1? → blocking1.9.1+
Attached patch fixSplinter Review
We shouldn't mess with ElementUnavailable until the element actually dies.

But the main fix is to call UpdateMediaSize from Invalidate even if there's no frame.

This adds some reftests so that drawing video into canvas is actually tested...
Assignee: nobody → roc
Attachment #357294 - Flags: review?(chris.double)
Attachment #357294 - Flags: review?(chris.double) → review+
Whiteboard: [needs review]
Whiteboard: [needs review] → [needs landing]
Pushed d198affa5573
Status: NEW → RESOLVED
Closed: 16 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [needs landing] → [needs 191 landing]
Whiteboard: [needs 191 landing] → [needs 1.9.1 landing]
Whiteboard: [needs 1.9.1 landing] → [needs 191 landing]
Patch pushed to 1.9.1 branch on behalf of roc.
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/d4d3bff78d9a
Keywords: fixed1.9.1
Whiteboard: [needs 191 landing]
Verified fixed on the 1.9.1 branch using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20090206 Shiretoko/3.1b3pre, although the video does look a bit weird with the filter.

Verified fixed on the trunk using  Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090206 Minefield/3.2a1pre.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: