Videos start freezing the system

It’s worth having a Terminal window open monitoring RAM and swap usage; e.g.:

watch -n30 free -h

… in case it is an issue here.

See Post 5 in the thread this is linked from for more detail in case you missed it.