Use of Embed tags (use of plugins that play various audio videos in a Web page)
Link Address: http://blog.csdn.net/TomyGuan/archive/2006/11/10/1377807.aspx
Instructions for using the player plugin:
Code:< EMBED src= "Music.mid" autostart= "true" loop= "2" width= "" "height=" >
SRC: path and file name of the music file; (full path or URL)
Showtracker: To show the playback progress bar
Showpositioncontrols: For whether to show playback control buttons such as fast forward etc.
Showaudiocontrols: To control whether the volume button is displayed
ShowStatusBar: Whether to display the consultation window
Showdisplay: To display a more complete consultation window
Enablecontextmenu: Prevent use of Right-click
Autostart:true automatically starts playing when the music file is uploaded and defaults to False (NO)
Loop:true for infinite Replay, false for no replay, a specific value (integer) for replay number of times
Volume: The value range is "0-100", set the volume, default to the volume of the system itself
StartTime: "Minutes: Seconds", set the time the song starts to play, for example, Starttime= "00:10", play from the 10th start
Endtime: "Minutes: Seconds" To set the time at which the song ends playing
Width: The width of the control panel
Height: The height of the control Panel
CONTROLS: The appearance of the control panel
Controls= "Console/smallconsole/playbutton/pausebutton/stopbutton/volumelever"
console: Normal-sized panels
smallconsole: Smaller panel
PlayButton: Show Play button
Pausebutton: Show Pause button
Stopbutton: Show Stop button
volumelever: Show Volume adjustment button
Hidden: True when the panel can be hidden
Embed tag src file can also be a. swf file, used to broadcast flash
Here is an example: auto-play and hide the control button, disable the right-click menu.
The following is the code used in the example above:
<embed src= "Yin/01.mp3" _fcksavedurl= "Yin/01.mp3" "_fcksavedurl=" "Yin/01.mp3" "Type=" Application/x-mplayer3 " Loop= "true" showstatusbar= "true" showpositioncontrols= "false" enablecontextmenu= "false" ></embed>
Use of Embed tags (use of plugins that play various audio videos in a Web page)