Use speaker in security cam as chime

I have a Security floodlight cam with speaker build in; it would be great if this speaker could also be used as a chime for the doorbell! (I already have a chime for inside the house)

Same wish here but wish a indoor cam…