Your photos & videos will only be deleted locally and will still be available in your myCloud should you have uploaded them there beforehand. This will enable you to manage your smartphone’s storage space and make the most use of your myCloud’s and smartphone’s storage space.