Put the adapter at the trailer end. You don't even need a heavy extension cord if all you run in the trailer are things like battery charger,
lights, fan, and the occasional water pump. Just don't use AC,
microwave, electric water heater, or similar high current items. Common sense is always good.