A video, which appeared to be taken during a by-election canvass in Dublin Central, was shared on social media