GoogleMobileAds Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GADVideoOptions
Video ad options.
-
Indicates whether videos should start muted. By default this property value is YES.
Declaration
Swift
var startMuted: 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 customControlsRequested: Bool { get set }
Objective-C
@property (nonatomic) BOOL customControlsRequested;
-
Indicates whether the requested video should have the click to expand behavior.
Declaration
Swift
var clickToExpandRequested: Bool { get set }
Objective-C
@property (nonatomic) BOOL clickToExpandRequested;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-02-23 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-02-23 UTC."],[[["`GADVideoOptions` provides customization settings for video ads, such as controlling playback, sound, and user interaction."],["You can configure whether videos start muted by default, enable custom controls, or allow click-to-expand functionality."],["These options are accessible through properties like `startMuted`, `customControlsRequested`, and `clickToExpandRequested` in both Swift and Objective-C."]]],[]]