Settings.mediaAccessRights

The mediaAccessRights property retrieves a value indicating the rights currently granted for library access.

Syntax

player.settings.mediaAccessRights

Possible Values

This property is a read-only String.

Value Description
none Current item access rights only.
read Read access rights only.
full Read/Write access rights.

Remarks

A webpage must first request permission from the user to read information from or write data to the library. This means that certain methods, properties, and events will be inaccessible from code if the appropriate access rights have not been granted. To obtain access rights, the application calls Settings.requestMediaAccessRights, passing a parameter that specifies the desired access rights level.

Windows Media Player 10 Mobile: This property always returns full.

Requirements

Version
Windows Media Player 9 Series or later.
DLL
Wmp.dll

See also

Settings Object

Settings.requestMediaAccessRights