Music is life, music is an art and we could never do without it. In particular, preparing the articles, browsing the web for research and drawing up the ideas that will come. Here one of the most important applications of our days turns out to be the Spotify player, not everyone needs the full application, for most people the web player is more than enough. In addition to being ultra-portable, light and with no space occupied.
But what if you try to use the Spotify web player with the Firefox browser on an openSUSE Linux distribution?
You get an amazing screen that blocks you with a request: Enable web player in your browser or Enable secure playback in your browser. Also, if you have enabled DRM content in Firefox and activated (always) the Widevine plug-in, you stuck on that page. So, what to do?
There are a lot of workarounds, like using a user agent switcher or an incognito tab, but these are cumbersome and not definitively resolving solutions.
The best way to proceed to have an optimal solution to the problem is to install the necessary Codecs for the Spotify web player. Unfortunately, the easiest solution that works great on other Linux distributions such as Fedora or Ubuntu, does not work on openSUSE: sorry, but installing FFmpeg and/or VLC is not enough.
To install those Codecs, you can follow The unofficial guide to install Multimedia Codecs in openSUSE. Mainly we have a fast way and the zen way of the Force.
You can use the 1-click installation of the Codecs: click Install Multimedia Codecs and follow the instructions on YaST Software Management. NOTE: if you find a conflict dialog box, always select to install the packages with Vendor Change.
If you are a JEDI and if you want to follow the Force, go straight to a terminal window and digit:
$ # Instructions for LEAP repositories / For Tumbleweed change the repo definitions
$ zypper addrepo -f http://packman.inode.at/suse/openSUSE_Leap_15.1/packman
$ zypper addrepo -f http://opensuse-guide.org/repo/openSUSE_Leap_15.1/dvd
$ zypper install --allow-vendor-change ffmpeg lame gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-plugins-ugly-orig-addon gstreamer-plugins-libav libavdevice56 libavdevice58 libdvdcss2 vlc-codecs
$ zypper dup --allow-vendor-change --from http://packman.inode.at/suse/openSUSE_Leap_15.1/
Restart your Firefox browser and finally enjoy the Spotify web player.
- Spotify Web Player – https://open.spotify.com/
- Spotify in Firefox Linux Doesn’t work – https://community.spotify.com/t5/Other-Partners-Web-Player-etc/Spotify-in-Firefox-Doesn-t-work/td-p/1669454
- Multimedia Codecs. The unofficial guide to openSUSE Leap 15.1 – http://opensuse-guide.org/codecs.php