DVD support cannot be provided by default in Ubuntu due to legal and technical restrictions. Most commercial DVDs are encrypted and so require the use of decryption software in order to play them.
In some countries, the use of the below unlicensed decryption software is not permitted by law. Verify that you are within your rights to use it.
Install libdvdnav4, libdvdread8, gstreamer1.0-plugins-bad, gstreamer1.0-plugins-ugly, and libdvd-pkg.
Open a terminal window by pressing
Run the command
and confirm in order to install libdvdcss2.