Continuously play multiple background music in the blog

Source: Internet
Author: User
Step 1: add the Player Code (do not use other JavaScript players). I only need the simplest one. In fact, to simplify the code for playing background music, the following code is the simplest.
<Embed src = "">
<Embed src = "" autostart = "true" loop = "-1" controls = "controlpanel" width = "0" Height = "0">
Loop = "-1" indicates infinite loop playback. You can set the number of playback times and use a specific number instead. For example, if you want it to play twice, loop = "2"
Controls = "controlpanel" can be omitted
Width = "0" Height = "0" indicates hidden playback. To set the player size, set the value, for example, width = "480" Height = "25"
I put it in the article, so I can directly switch the article to the code mode and paste the code just now. Step 2: Achieve continuous playback of multiple songs
The player will get it, use Baidu or search for the address of the song, and replace the "background music URL" in the code to play the song. But it can only be one song. It doesn't matter. Do you remember there was a playlist when you used Winamp or semi-sync? Yes, in M3U format. Create a new notepad document and write the following code to save it as "any name. m3u ":
<ASX version = "3.0">
<Entry>
<Ref href = "music website ending with .mid.wma.mp3 1"/>
</Entry>
<Entry>
<Ref href = "music website ending with .mid.wma.mp3 2"/>
</Entry>
<Entry>
<Ref href = "music website ending with .mid.wma.mp3 3"/>
</Entry>
You need to repeat "<entry> ...... </Entry> "code
</ASX>
Well, then? Upload the saved files (for example, Musci. m3u) to your personal homepage. Then, place the M3U IE address in the "background music address" in step 1 to achieve continuous playback.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.