Insert Windows Media Player into the page

Source: Internet
Author: User

Insert a player into the page
Here, we use inserting a Windows Media Player as an example:
ID: 6bf52a52-394a-11d3-b153-00c04f79faa6
(I do not know the ID of other players)

<Object ID = "mediaplayer" Height = "150" width = "150" classid = "CLSID: 6bf52a52-394a-11d3-b153-00c04f79faa6" viewastext>

// Playback file address
<Param name = "url" value = "http://www.80sfm.com/asx/80sasx.asx">

// Specify the stream file playback speed. A negative value indicates reverse playback.
// When this value is not 1, the ASF and WMV files are muted during playback.
// The value ranges from-10 to 10.
<Param name = "rate" value = "1">

// Integer between-100 and 100: used to balance the left and right speakers
<Param name = "balance" value = "0">

// The current playback position, in seconds
<Param name = "currentposition" value = "0">

// Specify the number of times stream files are played
<Param name = "playcount" value = "1">

// Whether to play the video automatically
<Param name = "autostart" value = "-1">

<Param name = "currentmarker" value = "0">

// Specify whether to enable the browser to open the URL path
<Param name = "invokeurls" value = "-1">

// Any value ranging from 0 to 100. Specify the volume.
<Param name = "volume" value = "50">

// Specifies whether the audio is muted.
<Param name = "mute" value = "0">

// None, Mini, or full, specifies how the Windows Media Player controls display
<Param name = "uimode" value = "mini">

<Param name = "stretchtofit" value = "0">

<Param name = "windowlessvideo" value = "0">

// Specify whether the player is valid
<Param name = "enabled" value = "-1">

// Specify whether the right-click menu is valid
<Param name = "enablecontextmenu" value = "0">

// Specify whether the stream file content is played in full screen mode
<Param name = "fullscreen" value = "0">
</Object>

Related Article

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.