# GoogleMobileAds Framework Reference

# GADVideoController


    @interface GADVideoController : NSObject

The video controller class provides a way to get the video metadata and also manages video
content of the ad rendered by the Google Mobile Ads SDK. You don't need to create an instance of
this class. When the ad rendered by the Google Mobile Ads SDK loads video content, you may be
able to get an instance of this class from the rendered ad object.
- `


  ### [delegate](https://developers.google.com/admob/ios/api/reference/Classes/GADVideoController#/c:objc(cs)GADVideoController(py)delegate)


  ` Delegate for receiving video notifications.

  #### Declaration

  Swift

      weak var delegate: (any https://developers.google.com/admob/ios/api/reference/Protocols/GADVideoControllerDelegate.html)? { get set }

  Objective-C

      @property (nonatomic, weak, nullable) id<https://developers.google.com/admob/ios/api/reference/Protocols/GADVideoControllerDelegate.html> delegate;

- `


  ### [muted](https://developers.google.com/admob/ios/api/reference/Classes/GADVideoController#/c:objc(cs)GADVideoController(py)muted)


  ` Indicates whether the video is muted. Set to YES to mute the video. Set to NO to allow the video
  to play sound. The setter doesn't do anything if -customControlsEnabled returns NO.

  #### Declaration

  Swift

      var isMuted: Bool { get set }

  Objective-C

      @property (nonatomic, getter=isMuted) BOOL muted;

- `


  ### [customControlsEnabled](https://developers.google.com/admob/ios/api/reference/Classes/GADVideoController#/c:objc(cs)GADVideoController(py)customControlsEnabled)


  ` Indicates whether video custom controls (for example, play/pause/mute/unmute) are enabled.

  #### Declaration

  Swift

      var areCustomControlsEnabled: Bool { get }

  Objective-C

      @property (nonatomic, readonly, getter=areCustomControlsEnabled) BOOL customControlsEnabled;

- `


  ### [clickToExpandEnabled](https://developers.google.com/admob/ios/api/reference/Classes/GADVideoController#/c:objc(cs)GADVideoController(py)clickToExpandEnabled)


  ` Indicates whether video click to expand behavior is enabled.

  #### Declaration

  Swift

      var isClickToExpandEnabled: Bool { get }

  Objective-C

      @property (nonatomic, readonly, getter=isClickToExpandEnabled) BOOL clickToExpandEnabled;

- `


  ### [-play](https://developers.google.com/admob/ios/api/reference/Classes/GADVideoController#/c:objc(cs)GADVideoController(im)play)


  ` Play the video. Doesn't do anything if the video is already playing or if
  -customControlsEnabled returns NO.

  #### Declaration

  Swift

      func play()

  Objective-C

      - (void)play;

- `


  ### [-pause](https://developers.google.com/admob/ios/api/reference/Classes/GADVideoController#/c:objc(cs)GADVideoController(im)pause)


  ` Pause the video. Doesn't do anything if the video is already paused or if
  -customControlsEnabled- returns NO.

  #### Declaration

  Swift

      func pause()

  Objective-C

      - (void)pause;

- `


  ### [-stop](https://developers.google.com/admob/ios/api/reference/Classes/GADVideoController#/c:objc(cs)GADVideoController(im)stop)


  ` Stops the video and displays the video's first frame. Call -play to resume playback at the start
  of the video. Doesn't do anything if -customControlsEnabled returns NO.

  #### Declaration

  Swift

      func stop()

  Objective-C

      - (void)stop;