How to add background music to your blog (blog Park must have permission to script)

Source: Internet
Author: User

Blog player Code Daquan!!

MTV Code <embed src= "MTV address" width= "305" height= "+" type= "Video/x-msvideo" autostart= "true" loop= "false" align= "Left" >

Background music Code (written in journal header) 1. Display player code: <embed src=http://Your music address > 2. Do not display the player code because the journal title has a word limit, so please choose a shorter music address, otherwise the background music will expire) <embed src=http://Your music address width= "0" height= "0" loop= "999" > The music address in the code is the URL that ends with. mp3/.midi/.wma/.wmv on the Internet

Video MTV code (written in the journal content) <embed src= http://Your video file address Type=audio/x-pn-realaudio-plugin console=clip1 controls= Imagewindow height=124 width=180 autostart=true The video file address in the loop=true> code is the URL that ends with. RM Online. The size of the player can adjust the value of the code itself, just change height = "height", width = "width"

Radio code (written in the diary content) <embed src= http:/Your station address Type=audio/x-pn-realaudio-plugin console=clip1 Controls=imagewindow height=124 width=180 Autostart=true loop=true> The station address in the code is the URL that ends with. asp online.

Music player Code <iframe src="/\ ' http://www.chjia.com/mtv/index1.htm " \ ' frameborder=\ ' 0\ ' width=\ ' 975\ ' scrolling=\ ', no\ ' height=\ ' 21\ ' ></div> '; >

Home Theater Code <div style= "padding:0px; left:2px; Overflow:hidden; width:634px;; top:0px; height:530px; Zindex:90 "resiziable=" true "> </div> <div style= "LEFT:229PX; Overflow:hidden; width:262px;; top:128px; height:210px; zindex:200; padding:0px "resiziable=" true "> <embed src=" Your video Address "width=" 303 "height=" + "type=" Video/x-msvideo "autostart=" True "loop=" false "align=" left "></div>

Inserting video code (generated by code generator)

1 ... only play the video playback code that needs to be manually opened </textarea><embed src= video address Type=audio/x-pn-realaudio-plugin console=clip1 controls= Imagewindow height=420 width=640 Autostart=false loop=false>

2 ... looping video playback code <embed src= video address type=audio/x-pn-realaudio-plugin console=clip1 Controls=imagewindow height=420 width=640 Autostart=false loop=true>

3. ... autoplay video playback code <embed src= video address type=audio/x-pn-realaudio-plugin console=clip1 Controls=imagewindow height=420 width=640 Autostart=false loop=false>

4. Auto Play + Loop play code <embed src= video address type=audio/x-pn-realaudio-plugin console=clip1 Controls=imagewindow height=420 width=640 autostart=true loop=true>

Insert music Code (generated by code generator)

1 ... only play the music playback code that needs to be manually opened <embed src= music address width=2 height=2 Autostart=false loop=false>

2 ... looping music playback code <embed src= Music address width=2 height=2 autostart=true loop=false>

3 ... loop play + Auto Music play code <embed src= music address width=2 height=2 autostart=true loop=true>

4 ... loop play + Auto Music Play + Hide Player code <embed src= music address width=0 height=0 autostart=true loop=true>

5 ... automatic music play code <embed src= music address width=2 height=2 autostart=false loop=true>6 ... hide player code <embed src= music Address width=0 Height=0 Autostart=false loop=false>

7. Loop Play + autoplay + player code <iframe src=\ '

Http://jmusic.crazydc.com/music/haixiao.mp3 \ ' frameborder=\ ' 0\ ' width=\ ' \ ' scrolling=\ ' no\ ' height=\ ' \ ' ></ Div> '; " >.



The following is the player with the diagram: (I used the first comparison white) haha

Note: The following is used in the blog home better.


A transparent player code:

<table style= "Filter:alpha (opacity=100, finishopacity=0, style=2, startx=20, starty=40, FinishX=0, FinishY=0) xray ( ); height:40px ">
<TBODY>
<TR>
<td><embed style= "Border-right:silver 1px solid; Border-bottom:silver 1px solid "src=http://218.28.63.133/song/user/200512345491281.wma width=200 height=30 type= Audio/x-mplayer2 loop= "-1" autostart= "0" volume= "0" enablecontextmenu= "0" showstatusbar= "0" console= "video" ></ Td></tr></tbody></table>






Two red player codes

<TBODY><TR><TD>

<table style= "Font-weight:normal; font-size:12px; COLOR: #ffffff; Font-style:normal; Font-family:tahoma, Verdana; Font-variant:normal "Cellspacing=0 cellpadding=0 width=140 border=0>

<TBODY>

<TR>

&LT;TD style= "<embed style=" Filter:invert Alpha (opacity=50) width:140px; height:45px "src=http://218.28.63.133/song/user/200512345491281.wma type=video/x-ms-asf autostart=" FALSE "loop="-1 "Volume=" 0 "></embed></td></tr></tbody></table></td></tr></ Tbody></table>





Three-black player

<embed style= "Filter:xray ()" Src= Music connection address width=570 height=40 type=audio/mpeg loop= "-1" autostart= "true" volume= "0" >




Four white Translucent

<table style= "Filter:alpha (opacity=100, finishopacity=0, style=2, startx=20, starty=40, FinishX=0, FinishY=0,gray ( ); width:320px; Height:83px ">

<TBODY>

<TR>

<td><font color= #00441b ><embed src= Music link address width=300 height=40 type=audio/mpeg panel= "0" autostart= " True "loop=" true "></FONT></TD></TR></TBODY></TABLE>




Five silver-white player

<embed style= "Filter:gray" src= Music link address width=300 height=45 type=audio/mpeg loop= "-1" autostart= "1" volume= "0" >


Children's shoes that cannot be played automatically note that

There is a autostart= "0" to change 0 to 1.

loop= "-1" means infinite loop playback, can set the number of plays, with a specific number instead, such as I want it to play two times, then loop= "2".


Http://www.51119.com/play/is also a good site.please pay attention to my blog: http://www.cnblogs.com/Yiutto/


How to add background music to your blog (blog Park must have permission to script)

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.