if you delete a photo or video on one device, does it automatically delete it on all of the devices that are connected to the same icloud?
.
Yes. That is the purpose of iCloud to keep the devices in sync.
iCloud is a syncing system, not an external storage system.
if you delete a photo or video on one device, does it automatically delete it on all of the devices that are connected to the same icloud?