If you use drawImage with a video element that's not attached to the document (or I suspect is attached but display:none), nothing gets drawn. I'm guessing that this is because the video frames aren't being created in this case.
I swear this used to work!
Assignee: nobody → roc
Flags: blocking1.9.2? → blocking1.9.2+
9 years ago
Priority: -- → P2
Created attachment 403603 [details] testcase which works This testcase works for me on Mac, so in general this feature does work.
http://nerget.com/canvas/?paddy.ogg#blargh gives me a 404.
layout/reftests/ogg-video/canvas-1a.xhtml actually tests this. 1.9.1 has that test too. It's enabled in reftest.list in all branches. http://people.mozilla.com/~mnandigama/codecoverage_html/layout/base/nsLayoutUtils.cpp.gcov.html shows that the video code in nsLayoutUtils::GetSurfaceFromElement is covered. I guess this got fixed since Vlad filed the report.
Status: NEW → RESOLVED
Last Resolved: 9 years ago
status1.9.1: --- → .2-fixed
status1.9.2: --- → beta1-fixed
Resolution: --- → FIXED
9 years ago
Resolution: FIXED → WORKSFORME
You need to log in before you can comment on or make changes to this bug.