I am pretty sure that the sparks were produced due to bursting of tiny crackling micro stars and there was no titanium. This type of small crackling fountains are very much popular right here in India. I have made one with a bit larger granules and slower fountain composition and here is the video.