Comment on The demise of Flash didn't bring any big HTML5/JS equivalent for watching animations; fast internet and better video compression made those types of animations become raster videos as well
It was proprietary, apple hated it because it wanted to sell apps. And Google followed that model.