Closed Bug 1420378 Opened 7 years ago Closed 7 years ago

Autoplay permission should expire after idle a day

Categories

(Core :: Audio/Video: Playback, enhancement, P3)

Other Branch
enhancement

Tracking

()

RESOLVED WONTFIX

People

(Reporter: alwu, Unassigned)

References

Details

(Whiteboard: [block-ap-v1])

If user idles for a day without using firefox, then websites shouldn't be allowed to autoplay, until user uses Firefox again.
(In reply to Alastor Wu [:alwu][please needinfo me][GMT+8] from comment #0) > If user idles for a day without using firefox, then websites shouldn't be > allowed to autoplay, until user uses Firefox again. This seems arbitrary. Perhaps we could tie this to an OS shutdown/sleep mode.
(In reply to Anthony Jones (:kentuckyfriedtakahe, :k17e) from comment #1) > This seems arbitrary. Perhaps we could tie this to an OS shutdown/sleep mode. Do you mean the permission should be canceled after OS going to sleep mode? But the sleep mode might be triggered after just a few minutes, it seems to short. NI UX for the comment1.
Flags: needinfo?(bmao)
(In reply to Anthony Jones (:kentuckyfriedtakahe, :k17e) from comment #1) > (In reply to Alastor Wu [:alwu][please needinfo me][GMT+8] from comment #0) > > If user idles for a day without using firefox, then websites shouldn't be > > allowed to autoplay, until user uses Firefox again. > > This seems arbitrary. Perhaps we could tie this to an OS shutdown/sleep mode. Currently, we use the session to reset the autoplay permission, adding the 24hrs rule is to address the users who never close their browser (especially the Mac user). We try to assign a timeout to the permission so they won't be surprised by the sound of the autoplay when they come back to the browser next day. I think OS shutdown/sleep mode does similar things here. If a user shutdown his/her computer, the browser session ends and the autoplay permission expired. If the user left for a while, the OS sleep, then the browser idle as well. The only differences is that we have more control to the perfer duration if we have our own timeout.
Flags: needinfo?(bmao)
What problem are you trying to solve with the timeout?
Priority: -- → P3
Whiteboard: block-ap-v1
Whiteboard: block-ap-v1 → [block-ap-v1]
Assignee: alastor0325 → nobody
We decided to not keep this behaviour.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.