Starting Playback at a Specific Point in a File (285841)



The information in this article applies to:

  • Microsoft Windows Media Services 4.0
  • Microsoft Windows Media Services 4.1
  • Microsoft Windows Media Player 6.4
  • Microsoft Windows Media Player 7

This article was previously published under Q285841

SUMMARY

You may want to specify a point within an .asf file other than the beginning for the file to start playing from. You can use the starttime element in an .asx file to do this.

MORE INFORMATION

Within an .asx file, you can specify the time the player jumps to and starts playing for a given entry. The format of the starttime element is:

<STARTTIME VALUE="hh:mm:ss.fract"/>

For example, if you want the player to skip the first one minute and thirty seconds of a file you would use:

<starttime value = "1:30.0"/>
					

The starttime element should be within an entry tag in an .asx file. For example:
<asx version = "3.0">
 <entry>
  <starttime value = "1:30.0"/>
  <ref href = "mms://server1.microsoft.com/test.asf"/>
 </entry>
</asx>
				

Modification Type:MajorLast Reviewed:11/26/2003
Keywords:kbinfo KB285841