Flame/Smoke not rendering in Eevee or Cycles

I believe it is because of the transparent background, which surprisingly keeps alpha=0 when encountering volume shaders one. See here for more explanation: