banner art

noSkip attribute

The noSkip attribute specifies whether the next, rewind, fast-forward, pause, and seek functions are enabled in Windows Media Player when a media element plays. You can use this attribute to prevent users from skipping a media element, such as an advertisement.

If the noSkip attribute value is set to true, the next, fast-forward, pause, and seek functions are disabled. Players will only have the ability to skip to the previous item in the playlist, rewind to the previous item or to stop playback. If the value is not specified or is set to false, all of the functions are enabled.

In the following example, users must play all of IntroClip.wmv before they can stream MovieClip.wmv.

<?wsx version="1.0"?>
	<media src="c:\Wmpub\Wmroot\IntroClip.wmv" noSkip="true" />
	<media src="c:\Wmpub\Wmroot\MovieClip.wmv" mediaName="Movie" />

The noSkip attribute can be specified for the following playlist element:

Note Image Notes

Related topics

© 2005 Microsoft Corporation. All rights reserved.