Background Music skills for playing web pages in Linux
Source: Internet
Author: User
Article Title: Playing background music skills on webpages in Linux. Linux is a technology channel of the IT lab in China. Some basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source are included. When firefox in Linux browses many webpages, many use the WMP-based background music player, for example, 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 thought of changing the execution 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:
Sed-I "s/kaffeine/amarok/g" 'Find .'
Sed-I "s/Kaffeine/Amarok/g" 'Find .'
Then configue -- prefix =/usr/lib/nsbrowser/, make, and make install. In this way, the plug-in of kaffeine is changed to amarok-mozilla-plugin.
You can also use this method to change it to any player you like.
However, this method will change the current play of a song by amarok. However, you can avoid playing multiple MP3 songs at the same time and ignore the score =. = Of course, you can add the-a parameter to the end of the playlist. You need to manually modify the source file.
We recommend that you use the firefox plug-in adblocks or similar plug-ins to filter out many places that do not want background music.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service