<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
There is a table in the project that needs to be ...
Table of contents 2. Comma operator 3. JavaScript...
1. Download MySQL database and install and config...
Table of contents Problem Description Front-end c...
Preface Many web applications store data in a rel...
Use HTML color blocks to dynamically display data...
Zabbix server environment platform ZABBIX version...
Recently I was looking at how Docker allows conta...
Docker official documentation: https://docs.docke...
As a commonly used database, MySQL requires a lot...
Table of contents 1. The significance of users an...
There are many loopholes in the simple seamless s...
MySQL needs to be upgraded to version 5.5.3 or ab...
Table of contents What is a trigger Create a trig...
Table of contents The concept of affairs The stat...