One Logo Pool Ball
_AVKit_SwiftUI · IOS API REFERENCE

VideoPlayer

struct · iOS 14.0+ · SDK 27.1

@MainActor @preconcurrency struct VideoPlayer<VideoOverlay> where VideoOverlay : View

A view for showing the audiovisual contents of an `AVPlayer` including system-provided playback controls and behaviors.

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

3 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

VideoPlayer.init(player:videoOverlay:)

callback cannot propagate synchronous failure

VideoPlayer.body

This protocol needs associated types that cannot yet cross the bridge.

VideoPlayer.init(player:)

The iOS SDK compiler rejected this binding: cannot find type 'SwiftUICore' in scope

All _AVKit_SwiftUI types →