Health and Safety Code – HSC § 12680

(a) Except as provided in subdivision (b) or (c), it is unlawful for any person to place, throw, discharge or ignite, or fire dangerous fireworks at or near any person or group of persons where there is a likelihood of injury to that person or group of persons or when the person willfully places, throws, discharges, ignites, or fires the fireworks with the intent of creating chaos, fear, or panic.

(b) Subdivision (a) does not apply to a person described in Section 12517 who uses special effects.  For purposes of this subdivision, “special effects” means articles containing any pyrotechnic composition manufactured and assembled, designed, or discharged in connection with television, theater, or motion picture productions, which may or may not be presented before live audiences, and any other articles containing any pyrotechnic composition used for commercial, industrial, educational, recreational, or entertainment purposes when authorized by the authority having jurisdiction.

(c) Subdivision (a) does not apply to a person holding a fireworks license issued pursuant to Chapter 5 (commencing with Section 12570 ).