record gif and generate blob