Ubuntu by default does not play encrypted DVDs. This is because most commercial DVDs are encrypted with CSS (Content Scrambling System), which restricts the software that can play a DVD.
To enable you must install the libdvdcss2 package to allow Ubuntu to play DVDs. For that you need to run the following commands:
sudo apt-get install libdvdread4
Followed by:
sudo /usr/share/doc/libdvdread4/install-css.sh
That will install the required libraries and now your encrypted DVDs will be readable.
Please Note: Check with your local laws to make sure that usage of libdvdcss2 would be legal in your area.