AI-generated Key Takeaways
-
GADVideoOptions provides settings for video ads.
-
The
startMuted
property controls whether videos start muted, with a default of YES. -
customControlsRequested
determines if the video should have custom play/pause/mute controls. -
clickToExpandRequested
indicates if the video should have click-to-expand behavior.
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;