Surveillance video shows former New England Patriots player Aaron Hernandez putting gas in his rental car and dancing near a pump about an hour before prosecutors say he killed a man.

The video played Thursday in Hernandez's murder trial shows a co-defendant wearing a white towel around his shoulders.

A white towel was found near the body of Odin Lloyd later that day in an industrial park not far from Hernandez's home. Lloyd was shot to death.

Prosecutors haven't said who shot Lloyd but said Hernandez orchestrated the killing.

A bar manager testified Thursday that Hernandez spent the earlier part of the night drinking with a group at a bar in Rhode Island and smoking marijuana outside the bar with one of his friends.