Video of policeman admitting his involvement in gambling goes viral