You can do the same with most Bluray players these days. I bought a refurbished Toshiba Bluray for $30. that can stream those same sites through an Ethernet connection. Others have WiFi built-in, or use an optional WiFi adapter.
If you want to use a WiFi connection but the Bluray player only has Ethernet, then you can buy a WiFi bridged client router such as this $18.
TPLink. You just connect to it using your browser, and set to Client mode with the same encryption type, SSID and password used for your WiFi connection. Or get a recycled thrift store router for $4.-$5. and upgrade using a third party firmware such as DD-WRT if necessary. That's what I've done.