AI-generated Key Takeaways
-
GADVideoOptions allows configuring video ad behavior.
-
The
startMuted
property determines if videos begin muted, defaulting to YES. -
customControlsRequested
indicates if custom play/pause/mute controls are desired for the video. -
clickToExpandRequested
specifies whether the video should have click-to-expand functionality.
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;