<br />When inserting music into a web page, you need to write different codes according to different suffixes! Below is the detailed usage code for files in various formats. Note: "Music file and address" - the file name of the file to be played, preceded by the absolute path, or the relative path of this site. width_num – specifies a number as the width; height_num——Specify a number as the height; 1.mid <embed src="Music file and address" type="audio/midi" hidden="false" autostart="true" loop="true" height=height_num width=width_num></embed> 2.mp3 <embed controller="true" width="width_num" height="height_num" src="Music file and address" border="0" pluginspage="http://www.apple.com/quicktime/download/indext.html"></embed> 3.avi <embed src="Music file and address" border="0" width="width_num" height="height_num" type="application/x-mplayer2"></embed> 4.flash <embed src="Music file and address" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="width_num" height="height_num" play="true" loop="true" quality="high" scale="showall" menu="true"></embed> 5.mpg <embed src="Music file and address" border="0" width="width_num" height="height_num" type="application/x-mplayer2"></embed> 6.mov <embed controller="true" width="width_num" height="height_num" src="Music files and addresses" border="0" pluginspage="http://www.apple.com/quicktime/download/indext.html"></embed> 7.rm <OBJECT>" height="height_num"> <PARAM NAME="CONTROLS" VALUE="ImageWindow"> <PARAM NAME="AUTOSTART" Value="true"> <PARAM NAME="SRC" VALUE="Music file and address"> <embed height="高" width="宽" controls="ImageWindow" src="Music file and address" type="audio/x-pn-realaudio-plugin" autostart="true" nolabels="0" autogotourl="-1"></OBJECT> 8. The above are all using the player. If you just want to play background music, you can use the following simple statement: <bgsound src="music file and address" loop=1> The number of loops is followed by -1, which means an infinite loop. |
>>: Steps and pitfalls of upgrading linux mysql5.5 to mysql5.7
html , address , blockquote , body , dd , div , d...
I have summarized 3 methods to deploy multiple fr...
Mybatis paging plug-in pageHelper detailed explan...
This article shares the installation and configur...
Use the find command to find files larger than a ...
1. What is HTML markup language? HTML is a markup...
Table of contents 1. Basic SELECT statement 1. Qu...
When I turned on my MAC at night, I found that th...
Problem Description By configuring nginx, you can...
The layout of text has some formatting requiremen...
Table of contents 1. What is a database? 2. Class...
Table of contents 1.1. Enable MySQL binlog 1.2. C...
Preface We all know that MySQL uses server-id to ...
Detailed explanation of MySQL instance with SSD s...
I finally finished the project at hand, and the m...