Firefox doesn't pause video when macbook lid is closed
When watching a video or a stream if i close the lid of my macbook the video is not paused and when i open it a few minutes/hours laters it will try to resume the video or stream but it's buggy since the macbook entered sleep mode when the lid is closed
How can i force Firefox to pause the video when the lid is closed ?
It's annoying to have a buggy video and sound when opening the macbook because i've closed it on an playing video or stream