Hardware acceleration isn't working -> what GPU? Do you have the right drivers installed (yes for Linux this is a consideration as there are so many display configurations not all drivers cough nvidia work for all scenarios).
You also didn't specify anything like the quality you were trying to playback at. Is this 30% dropped frames at 4k60 or 1080p30? You can argue that this is too much detail for something that should "just work" but given where you are and what you're talking about I would think you would be more nuanced in the troubleshooting. If you want the most seemless and effort free web browsing and media viewing experience just buy a macbook air (good product and also good dev machines for most).