Web Design: Web Music Implementation Techniques

Web Design: Web Music Implementation Techniques
<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.

<<:  Vue 2.0 Basics in Detail

>>:  Steps and pitfalls of upgrading linux mysql5.5 to mysql5.7

Recommend

The process of using vxe-table to make editable tables in vue

There is a table in the project that needs to be ...

Summary of uncommon js operation operators

Table of contents 2. Comma operator 3. JavaScript...

Memcached method for building cache server

Preface Many web applications store data in a rel...

Html to achieve dynamic display of color blocks report effect (example code)

Use HTML color blocks to dynamically display data...

CentOS 8 Installation Guide for Zabbix 4.4

Zabbix server environment platform ZABBIX version...

Solve the problem of docker container exiting immediately after starting

Recently I was looking at how Docker allows conta...

Implementation of Docker deployment of Nuxt.js project

Docker official documentation: https://docs.docke...

Tips for data statistics in MySQL

As a commonly used database, MySQL requires a lot...

Introduction to user management under Linux system

Table of contents 1. The significance of users an...

Sample code for a simple seamless scrolling carousel implemented with native Js

There are many loopholes in the simple seamless s...

Detailed explanation of mysql trigger example

Table of contents What is a trigger Create a trig...

MySQL transaction concepts and usage in-depth explanation

Table of contents The concept of affairs The stat...