Play background music on a webpage in a LINUX system-Linux general technology-Linux technology and application information. Read the following for details. When browsing many web pages in firefox in LINUX, many background music players based on WMP are used, such as some baidu spaces. However, firefox does not support playback by default.
In LINUX, there is a kaffeine-mozilla-plugin which kaffeine can be used for playback in firefox. At this time, the kaffeine program is run and added to the playlist. However, kaffeine's support for wma and other formats and playing streaming media via HTTP is not very good. It often only prompts an error. Although amarok is excellent, no plugin similar to kaffeine is found
I searched the internet for half a day and did not find any results. I guess that the plugin of kaffeine may be implemented by executing commands, so I thought of changing the executed command to change the default player to amarok.
First, emerge-f kaffeine-mozilla-plugin (non-gentoo downloads from kaffeine.sourseforge.net), decompress the source code to a folder, and run: