You can add up to four IDE devices, up to 60 SCSI devices, and up to 120 SATA devices (four controllers with 30 devices per controller) to a virtual machine. Any of these devices can be connected to a physical or virtual CD-ROM or DVD device. CD-ROM and DVD devices cannot be connected to an NVMe controller.
A virtual machine can read data from a DVD disc. Workstation Player does not support playing DVD movies in a virtual machine. If you use a DVD player application that does not require video overlay support in the video card, you might be able to play a movie.