KDE Plasma: Use Android or Media Player Plasmoid to control audio / video playback in the browser

KDE Plasma Browser Integration is a cool feature added in Plasma 5.13 that some users may not know, so I think I will explain what it does and how to enable it.
Plasma browser integration integrates web browsers like Firefox, Google Chrome, Chromium or Vivaldi with Plasma desktop and your Android device (via KDE Conect). It allows:

  • Control video and audio playback in a web browser running on Plasma’s desktop via an Android device (using KDE Connect). If your phone rings, when the phone rings, YouTube / Netflix or anything you are playing on your web browser on your desktop will automatically pause and resume after the call ends.
  • Send link in plasma desktop web browser to Android (using KDE Conect)
  • Downloads made in a web browser are displayed in the “Plasma Notification” popup
  • Media Player Controls Plasma can control video and audio playback in a web browser. This also means that you can use the media keys on your keyboard to play / pause audio or video playing in your browser.
  • Use KRunner to find open browser tabs (Alt + Spacebar)

Plasma Browser Integration Extension Settings

These features can be enabled or disabled through the browser extension settings. The enhanced media controls (showing metadata and thumbnails of the currently playing content) are experimental and disabled by default.
To control audio and video playback in Plasma desktop web browser from Android and send links from desktop web browser to Android, you need to pair KDE Conect with your Android phone. Environment): Use browser-mpris2 (Chrome extension) to add YouTube player controls to the Linux desktop

How to install plasma browser integration

Plasma Browser Integration consists of two parts: a software package that needs to be installed on the Plasma desktop, and a browser extension for Firefox or a Chromium-based web browser. It requires KDE Plasma 5.13 or higher. Kubuntu users: Due to the requirements of Plasma 5.13 or higher, you need Kubuntu 18.10 or higher to use it. You can use Plasma Browser Integration with Kubuntu 18.04, but only if you have upgraded Plasma, for example using Kubuntu Backports PPA.1. Install the plasma browser integration package.
The package may be installed by default on the Linux distribution of your choice. If this is not the case, search for it in the repository of your Linux distribution and note that it may have a different name. On Kubuntu, Fedora (with KDE Plasma Desktop) or Arch Linux, you will find installation instructions below.
To install it on Kubuntu, use:

sudo apt install plasma-browser-integration

On the Fedora KDE plasma desktop, install the plasma browser integration using the following command:

sudo dnf install plasma-browser-integration

Install it on Arch Linux:

sudo pacman -S plasma-browser-integration

2. Install the Plasma Browser Integration extension for Firefox, Google Chrome, Chromium or Vivaldi (and other Chromium-based web browsers).
Install extensions for:

To enable thumbnails / metadata for the currently playing content (experimental), go to the extension settings and enable the Enhanced Media Control.
Now play YouTube videos in your web browser and try it out!
Picture source at the top of the picture: KDE on Mastodon

Source

Sidebar