Switching out YouTube and Soundcloud for their AMP component versions with regex
I’m writing AMP versions of our news pages, and one of the problems is that the editors embed a lot of content, which just doesn’t work on AMP pages. Rather than write a whole new chunk of CMS I thought I’d see if we can work out a way to just hotswap them out with... » read more