However, you can install the ability to play popular non-free media formats, including DVD, MP3, Quicktime, and Windows Media formats, by following the instructions below.
Method 1 – Manual Install
Open the Ubuntu Software Center. In the search box in the upper right corner, type "ubuntu-restricted-extras".
When it shows up, click on the "Ubuntu restricted extras" package, then click the install button for it.
Method 2 – Using Terminal
Open terminal and type the following command
sudo apt-get install ubuntu-restricted-extras