Page Audio Playback Code

Source: Internet
Author: User

@*1. Simple player One (manual) main audio format: Rm,ra,ram,mp3

Easy Player (autoplay) Code, extraction method: Right click, select All, copy *@ <center><embed src= "~/images/music/justin Timberlake,carey mulligan,stark S Ands-five hundred Miles.mp3 "width=200 height=30 controls=controlpanel loop=true autostart=true volume=100 type=audio/x -pn-realaudio-plugin Initfn=load-types mime-types=mime.types></center>

@*2. Simple player Two (manual) main format Wma,mp3

Simple player Two (autoplay) code. Extraction Method: Right click, select All, copy *@ <center><embed style= "Filter:xray (); width:200px; height:30px "src=" audio absolute address "Type=audio/x-mpegurl volume=" 0 "loop="-1 "autostart=" true "allowscriptaccess=" never "> </EMBED></center>

@*3. Multi-function player (manual) All kinds of format audio and video (except RM etc.)

Multi-function player (autoplay) Code, extraction method: Right click, select All, copy

        (in the case of a video file, change the value in the following code to height=350) *@          <center><object id=phx height=45 width=350 classid=clsid:6bf52a52-394a-11d3-b153-00c04f79faa6 ><param name= "URL" value= "~/images/music/justin timberlake,carey mulligan,stark sands-five Hundred Miles.mp3" ><param name= "Rate" value= "1" ><param name= "balance" value= "0" ><param name= "currentposition" value= "0" ><param name= "Defaultframe" value= "" ><param name= "Playcount" value= "1" ><param name= "AutoStart" Value= "-1" ><param name= "Currentmarker" value= "0" ><param name= "Invokeurls" value= "-1" ><param name= "BaseURL" value= "><param name=" volume "value=" "><param name=" mute "value=" 0 "><param name=" Uimode "value=" full "><param name=" Stretchtofit "value=" 0 "><param name=" Windowlessvideo "value=" 0 "> <param name= "Enabled" value= "-1" ><param name= "Enablecontextmenu" value= "-1" >&lT;param name= "fullscreen" value= "0" ><param name= "Samistyle" value= "" ><param name= "SAMILang" value= "" > <param name= "Samifilename" value= "" ><param name= "Captioningid" value= "" ><param name= " Enableerrordialogs "value=" 0 "><param name=" _cx "value=" 8811 "><param name=" _cy "value=" 1217 "></ Object></center>

@*4. Microsoft Easy Player (manual) audio format: MP3,WMA, etc.

Microsoft Player (AutoPlay) Code, extraction method: Right click, select All, copy *@

<p align=center><embed src= "audio absolute address" width=320 height=45 type=audio/mpeg autostart= "0"/></p>

@*5. Tagged player (manual playback) audio format mp3,wma

Tag-type player (autoplay) code:

Code extraction methods: Right-click, select All, copy *@ <div align=center><embed src= "audio absolute address" width=300 height=140 type=audio/x-ms-wma balance= "True" showpositioncontrols= "true" showtracker= "true" showaudiocontrols= "true" showcontrols= "true" showstatusbar= " True "showdisplay=" true "displaysize=" 0 "volume=" "autosize=" false "autostart=" true "animationatstart=" false " Transparentatstart= "true" ></div>

@* Note:

1, the above display player is set to manual playback, namely: autostart= "0". If you want to play AutoPlay, set autostart= "true".

2, the above player code is set to AutoPlay, that is. autostart= "true", set autostart= "0" style and code if you want to play manually *@

Page Audio Playback Code

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.