The patents are still valid in USA, Brazil and a few other places.
If you're just hosting videos on your website you are probably using High Profile which was standardized in March of 2005, i.e. more than 20 years ago. That doesn't stop VIA and MPEG-LA from claiming they still have relevant patents, but that claim is dubious and hasn't been tested in court.
Of course MPEG-LA deliberately makes figuring out which patents cover which parts of H.264 (which is really a set of multiple standards spanning a 10+ year period) ambiguous and hard to determine in order to sell more licenses.
I can't afford to claim otherwise.