The LEDs are supplied with AC? That’s supposed to be a no-no as they’re polarity-conscious.
Edit….Seems like things have moved on since I last looked and the items available now are indeed bi-polarity.
Yes, I guess the cheapness of surface mount components means that adding a rectifier to the circuit board adds little to the cost of the bulbs. Thus, many will run on AC and don’t mind which way around they are connected. The only issue is that they usually need a regulated output. Some of the early 12V ones would blow as they didn’t like the 14.4 Volts of vehicle electrics. Its better now but a solid state regulator is still advised.