MediaPermissionVideo Enum

Definition

Specifies the permission level for video.

public enum class MediaPermissionVideo
public enum MediaPermissionVideo
type MediaPermissionVideo = 
Public Enum MediaPermissionVideo
Inheritance
MediaPermissionVideo

Fields

AllVideo 3

Permission that allows unrestricted video playback.

NoVideo 0

Permission that denies all video playback.

SafeVideo 2

Permission that allows safe, limited video playback, which includes denying stream access to the image file.

SiteOfOriginVideo 1

Permission that only allows video playback of files that are located at the application's site of origin.

Examples

The following code example shows the use of the Video property.

[MediaPermissionAttribute(SecurityAction.Demand, Video = MediaPermissionVideo.NoVideo)]
<MediaPermissionAttribute(SecurityAction.Demand, Video:=MediaPermissionVideo.NoVideo)>
Public Sub Method10()
End Sub

Remarks

Use this enumeration to set the Video property of the MediaPermission class. The default is SafeVideo.

Applies to