Instance Property

useApplicationAudioSession

A Boolean value that indicates whether the movie player should use the app’s audio session.

Declaration

@property(nonatomic) BOOL useApplicationAudioSession;

Discussion

The default value of this property is YES. Setting this property to NO causes the movie player to use a system-supplied audio session with a non-mixable playback category.

When this property is YES, the movie player shares the app’s audio session. This give you control over how the movie player content interacts with your audio and with audio from other apps, such as the iPod. For important guidance on using this feature, see Audio Session Programming Guide in Audio Session Programming Guide.

Changing the value of this property does not affect the currently playing movie. For the new setting to take effect, you must stop playback and then start it again.

Special Considerations

In iOS 3.1 and earlier, a movie player always uses a system-supplied audio session. To obtain that same behavior in iOS 3.2 and newer, you must set this property’s value to NO.

See Also

Accessing Movie Properties

contentURL

The URL that points to the movie file.

Deprecated
movieSourceType

The playback type of the movie.

Deprecated
movieMediaTypes

The types of media available in the movie.

Deprecated
allowsAirPlay

Specifies whether the movie player allows AirPlay movie playback.

Deprecated
airPlayVideoActive

Indicates whether the movie player is currently playing video via AirPlay.

Deprecated
naturalSize

The width and height of the movie frame.

Deprecated
fullscreen

A Boolean that indicates whether the movie player is in full-screen mode.

Deprecated
- setFullscreen:animated:

Causes the movie player to enter or exit full-screen mode.

Deprecated
scalingMode

The scaling mode to use when displaying the movie.

Deprecated
controlStyle

The style of the playback controls.

Deprecated