Instance Property

mediaTypesRequiringUserActionForPlayback

Determines which media types require a user gesture to begin playing.

Declaration

@property(nonatomic) WKAudiovisualMediaTypes mediaTypesRequiringUserActionForPlayback;

Discussion

Use WKAudiovisualMediaTypeNone to indicate that no user gestures are required to begin playing media.

See Also

Setting Media Playback Preferences

allowsInlineMediaPlayback

A Boolean value indicating whether HTML5 videos play inline or use the native full-screen controller.

allowsAirPlayForMediaPlayback

A Boolean value indicating whether AirPlay is allowed.

allowsPictureInPictureMediaPlayback

A Boolean value indicating whether HTML5 videos can play picture-in-picture.

mediaPlaybackAllowsAirPlay

Deprecated property. Instead, use allowsAirPlayForMediaPlayback.

Deprecated
requiresUserActionForMediaPlayback

A Boolean value indicating whether HTML5 videos require the user to start playing them (YES) or whether the videos can be played automatically (NO).

Deprecated
WKAudiovisualMediaTypes

The media types that require a user gesture to begin playing