Use of Embed tags (use of plugins that play various audio videos in a Web page)

Source: Internet
Author: User

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.

Adblockadblock


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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.