In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you how to add a MP3 player to Wordpress blog. I hope you will learn a lot after reading this article. Let's discuss it together.
How to add a MP3 player to a Wordpress blog?
First, go to Flash MP3 Player's home page to download the program. After unzipping, put the mp3player.swf and ufo.js files on the server, which is assumed to be under / musicplayer. (note that Flash MP3 Player has a bug, and the pathname cannot contain the word mp3, otherwise the playlist will not be read properly. )
Create a mp3player.php in the current theme directory of wordpress, as follows.
The code is as follows:
Download Flash Player to play music.
Var FU = {movie: "/ musicplayer/mp3player.swf", width: "190", height: "20", majorversion: "7", build: "0", bgcolor: "# FFFFFF", flashvars: "file=/musicplayer/playlist.xml&showdigits=true&repeat=true&shuffle=false&lightcolor=0x0080FF & backcolor=0x0066AA&frontcolor=0xEEEEEE"};}; UFO.create (FU, "mp3player")
Then add the following at the appropriate location in sidebar.php:
The code is as follows:
Add the following to header.php:
The code is as follows:
Finally, upload the mp3 file to the / musicplayer directory, preferably with an English name, and then create the playlist.xml file under / musicplayer.
The code is as follows:
Music Title Singer / musicplayer/song.mp3
The effect is shown in the following picture.
After reading this article, I believe you have a certain understanding of the method of adding MP3 player to Wordpress blog. Want to know more about it. Welcome to follow the industry information channel. Thank you for your reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.