Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This element specifies a URL for a piece of media content.

Syntax

<REF

HREF="URL"
>
</REF>

Parameters

HREF(required)

URL to any piece of media content supported by the Windows Media Player control.

Parent/Child Information

Hierarchy Allowed element

Parent elements

ENTRY

Child elements

DURATION, ENDMARKER, STARTMARKER

Remarks

This element specifies a URL for a piece of media content. The URL can point to any media type supported, using any protocol supported by the WMP control.

The most common use of this element is for URL rollover. If the WMP control is unable to open a piece of media defined in a REF element, it tries the URL in the next REF element.

When the WMP control opens media content from a URL defined within the scope of one ENTRY element, it ignores subsequent REF tags within that ENTRY element.

After the piece of content is done playing, the WMP control moves on to the next ENTRY element, if any.

Important:
   Once the WMP control establishes a connection to a referenced piece of content, it ignores all other REF elements in that ENTRY, whether the connection terminates normally or abnormally.

Example

Copy Code
<ASX VERSION="3.0">
   <ENTRY>
   <TITLE>Example Clip</TITLE>
	<REF HREF="mms://example.microsoft.com/selection1.asf"
/>
	<REF
HREF="mms://example.microsoft.com/mirror/selection1.asf" />
   </ENTRY>
</ASX>