The footage, which went viral after being uploaded to social media, captured hundreds of people fleeing from a beach after what was believed to be gun shots rang out