You need barn doors. Those are the funny black "cards" found on all four sides of theater lighting.
You dont need an actual product; feel free to improvise them any way you can, say with plywood or old election signs. If they are straight vertical, and thin, they won't accumulate much snow.
![enter image description here](https://i.stack.imgur.com/cbgsp.jpg)
The spec sheet specifies Plug and play. That means you do not replace the ballast. The opposite is "direct wire", which is where you do.
If it were a direct-wire unit, it would specify which pins to wire to.
The spec sheet also explains why it failed initially, in the upper right it says "Feit Electric". You can tell from the errors on the data sheet they're just an importer of goods they buy across the ocean.
Seriously, though, it needs the ballast to be working. I have a feeling the ballast was defective. Regardless, it's finished, now that you cut the wires so close. (I have to imagine you kinda knew it was defective). Toss it in the trash (it's electronic, no PCB). Save the screws/nuts that hold it down though. You may need them badly, and finding random matches at the hardware store is no fun.
At this point you have 4 options:
- find a direct-wire LED that fits in that connector (good luck)
- replace the ballast and get a plug-n-play LED or actual fluorescent tube
- rework the fixture to use a different style of connector that is good for LEDs
- replace the fixture
As for the probably-fried one, take it back to HD, tell them it's defective, get your money back, and stop shopping there. This kind of wild misapplication always traces back to big-box stores.
From now on, deal with real electrical and lighting supply houses. They sell to contractors who want the best price on products that won't generate service calls.
Best Answer
In general, MR16 bulbs use 12 volts, which is the reason for the transformer (white box). GU10 bulbs, on the other hand, generally run directly on mains voltage (120 or 240 volts). So you are feeding 12 volts into a 120 or 240 volt bulb and it is barely light, maybe not visibly.
You need to look at the markings on the bulb and verify its voltage. If it is mains voltage, you need to remove the transformer and splice directly into the wires from the ceiling.