My feeling is that Web dev is a commodity: embedded is a rarer more defensible skill set.
Being fungible has its pros on upswings and cons on market downswings.
I don't think that I've ever been paid for Web dev work per se, but I have done a fair amount of more specialist stuff including embedded and financial and have only been on other people's payrolls for a tiny amount of time, and with a variety of working arragements, over decades. So I think that you can stick with embedded if you want to.