The officer had posted about his participation through videos on social media, officials reported