It's been years since I had to deal with MATLAB licenses, since basically everything in scientific computing/data science uses Python these days!
ECB
joined 2 months ago
And even then, it just meant that whatever solution they thought up worked first try.
With experience you get better at finding good, working solutions quicker, but there will always be times when things take a bit of iteration.
Not a raspi, but I had similar issues on my opensuse HTPC which turned it to be related to issues with (or missing) media codecs in Firefox.
After (re)installing all of them, it worked like a charm.