Open Bug 1543131 Opened 7 years ago Updated 3 years ago

Make the Picture-in-Picture no-controls toggle code more efficient

Categories

(Toolkit :: Picture-in-Picture, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: mconley, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Whiteboard: [pip-needs-eng-triage])

Right now, we're using this pretty awful mousemove event handler to detect when the mouse is hovering over a no-controls <video> (to work around the fact that most <video> elements don't receive mouse events due to transparent overlays).

I've made this as efficient as possible by using DeferredTask and the idle queue for processing these events, but it's a kludge until we can get bug 1539652 fixed.

This bug is to port to the better API that bug 1539652 provides, once that bug is fixed.

Priority: -- → P2
Blocks: 1527926
Type: defect → enhancement
Priority: P2 → P3
Blocks: videopip
No longer blocks: 1527926
Component: Video/Audio Controls → Picture-in-Picture
Version: unspecified → Trunk
Whiteboard: [pip-needs-eng-triage]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.