With Ubuntu 19.04 (Disco Dingo) released, few students and new users have found that some videos and flash-based content are not playing in the just released Ubuntu 19.04.
Flash is a plug-in for your web browser that allows you to watch videos and use interactive web pages on some websites. While HTML5, which is a more modern solution, is increasingly offered, there are still some websites which won’t work without Flash.
If you do not have Flash installed, you will probably see a message telling you so when you visit a website that needs it. Flash is available as a free (but not open-source) download for most web browsers.
For students and new users using Google Chrome, there’s no need to install Adobe Flash plugin. Chrome comes with its own bundled NPAPI version of Flash plugin.
However, Firefox and other based on Firefox may handle flash content out of the box.
Although the NPAPI version of flash comes with Chrome, the PPAPI version isn’t installed. To install the PPAPI version supported by other browsers, follow the steps below:
Step 1: Enable Canonical Partners Repository
The latest flash plugin lives in the Canonical Partners’ repository and is disabled by default. You must enable this repository before attempting to install flash plugin.
To do that, open the command line terminal and run the commands below.
sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"
Step 2: Installing Adobe Flash Plugin
After enabling the partner’s repository, run the commands below to install Adobe flash plugin
sudo apt update sudo apt install adobe-flashplugin browser-plugin-freshplayer-pepperflash
After installing, restart Firefox or Chromium, or any other web browser before using the flash plugin. To make some changes to the plugin, click the Activities from the top left corner, then on the Activities Overview, search for Adobe Flash Player
On the Storage page, make sure to enable Adobe Flash Player to save information on the computer. close out and test.
You can also configure more advanced settings for local storage, control your privacy and delete temporary files and data and more.
Step 3: Install and Enable DVD Codecs
Alternatively, you can use the unlicensed decoder for Linux, but they are not permitted by law in most countries. So using it may not be legal. Ubuntu allows you to install these codecs and use but you’re doing it at your own risk.
To install the unlicensed decoder that are available on Ubuntu, run the commands below.
sudo apt install libdvdnav4 libdvdread4 gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly libdvd-pkg sudo apt install ubuntu-restricted-extras
During the installation, you may be prompted to accept some licensing agreement.
┌────────────────────────┤ Configuring libdvd-pkg ├─────────────────────────┐ │ │ │ │ │ │ │ This package automates the process of launching downloads of the source │ │ files for libdvdcss2 from videolan.org, compiling them, and installing │ │ the binary packages (libdvdcss2 libdvdcss-dev). │ │ │ │ Please run "sudo dpkg-reconfigure libdvd-pkg" to launch this process for │ │ the first time. │ │ │ │ <Ok> │ │ └───────────────────────────────────────────────────────────────────────────┘
Confirm in order to install libdvdcss2
After that, you should be able to play flash based videos and watch DVDs on Ubuntu desktop.
Congratulations! You’ve successfully installed Adobe Flash Plugin and enable DVD codes on Ubuntu 19.04
You may also like the post below: