AI-generated Key Takeaways
-
GADVideoOptions
provides customization settings for video ads displayed within Google Mobile Ads SDK. -
Control video playback behavior with options like starting muted (
startMuted
) and enabling custom controls (customControlsRequested
). -
Determine whether the video ad can expand upon clicking using the
clickToExpandRequested
property.
GADVideoOptions
@interface GADVideoOptions : GADAdLoaderOptions
Video ad options.
-
Indicates whether videos should start muted. By default this property value is YES.
Declaration
Swift
var shouldStartMuted: Bool { get set }
Objective-C
@property (nonatomic) BOOL startMuted;
-
Indicates whether the requested video should have custom controls enabled for play/pause/mute/unmute.
Declaration
Swift
var areCustomControlsRequested: Bool { get set }
Objective-C
@property (nonatomic) BOOL customControlsRequested;
-
Indicates whether the requested video should have the click to expand behavior.
Declaration
Swift
var isClickToExpandRequested: Bool { get set }
Objective-C
@property (nonatomic) BOOL clickToExpandRequested;