I never have this problem on linux (ubuntu something)
But I have a similar problem on mobile: after some time I cant play any video (yt, reddit, whatever, ..). Then I have to kill firefox and restart, then it works again.