Current location - Music Encyclopedia - NetEase Cloud Music - Html web page music playback
Html web page music playback
There are roughly four styles of inserting a music player into the HTML code, and the code is as follows:

White ordinary player code:

& ltembedded height = 45 type = audio/mpeg width = 300 src = music address volume = " 0 " loop = "- 1 " >& lt/EMBED & gt;

Black player code:

& ltembedded style = " filter:Xray " src = music address width = 300 height = 45 type = audio/mpeg loop = "- 1 " volume = " 0 " > & lt; /EMBED & gt;

Gray player code:

& ltembedded style = " filter:gray " src = music address width = 300 height = 45 type = audio/mpeg loop = "- 1 " volume = " 0 " > & lt; /EMBED & gt;

Brown player code:

& ltembedded style = " filter:invert " src = music address width = 300 height = 45 type = audio/mpeg loop = "- 1 " volume = " 0 " > & lt; /EMBED & gt;

Note: In the code, SRC controls the size of the player according to the address, width and height of the music, volume="0 "indicates the set volume, and the value is between 0- 100, and loop="- 1" indicates cyclic playback.