CD’s and DVD’s require players which are susceptible to EM pulses. It seems extremely unlikely for that kind of global EM pulse to happen, but I can’t exactly say it’s impossible.
I'm no EM-pulsicist, but I believe an EM pulse capable of inducing destructive currents in conductors as relatively short as those you'd find in an (unplugged) CD/DVD player, and doing that all over the globe, such a pulse would have to be ridiculously, absurdly massive. Are there any events or things we know about that could do this without also, say, sterilizing the planet?