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.
You can buy a commercial DVD decoder that can handle copy protection from Fluendo. It works with Linux and should be legal to use in all countries.
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, libdvdread4, gstreamer1.0-plugins-bad, gstreamer1.0-plugins-ugly, and libdvd-pkg.
Open a terminal window by pressing CtrlAltT.
Run the command
sudo dpkg-reconfigure libdvd-pkg
and confirm in order to install libdvdcss2.