I stream from this computer (running ARCH Linux to my home network with a streaming app called TVMOBILi. I purchased this app, even though it's Linux in 2008 or so, even though it runs on open sourced software because its developer made it work with the older version of Samsung TVs' In the mid 2010's he dropped out of development as Kodi and Plex kind of took over the market, but IMHO it works better because it does not support a media center. It just publishes from your files which you can organize any way you want it. But I can't find players outside of my Samsung and LG TVs which see it on my home network. I'd like to play streams on my computers with big monitors now. the web browser would be just fine. And, yes, I've kept it going on Ubuntu, Mint, SuSE and ARCH booting from init.d and systemd.
Ironically, Firefox supports extensions and I get no ads on YouTube, but if I want to cast YouTube to my TV, I have to use the ultra crappy YouTube app because Firefox can't cast. The phone itself can send audio to it, but no video. Even a phone mirroring mode would be useful.
I did discover one workaround on my Samsung Android phone. Chromecast doesn't work, but my FireTV has Miracast and Samsung phones can mirror the display to it, including Firefox running media/videos like YouTube. It's certainly better than using the YouTube app, IMO.