google_api_you_tube v0.12.0 GoogleApi.YouTube.V3.Model.ImageSettings View Source

Branding properties for images associated with the channel.

Attributes

  • backgroundImageUrl (type: GoogleApi.YouTube.V3.Model.LocalizedProperty.t, default: nil) - The URL for the background image shown on the video watch page. The image should be 1200px by 615px, with a maximum file size of 128k.
  • bannerExternalUrl (type: String.t, default: nil) - This is used only in update requests; if it's set, we use this URL to generate all of the above banner URLs.
  • bannerImageUrl (type: String.t, default: nil) - Banner image. Desktop size (1060x175).
  • bannerMobileExtraHdImageUrl (type: String.t, default: nil) - Banner image. Mobile size high resolution (1440x395).
  • bannerMobileHdImageUrl (type: String.t, default: nil) - Banner image. Mobile size high resolution (1280x360).
  • bannerMobileImageUrl (type: String.t, default: nil) - Banner image. Mobile size (640x175).
  • bannerMobileLowImageUrl (type: String.t, default: nil) - Banner image. Mobile size low resolution (320x88).
  • bannerMobileMediumHdImageUrl (type: String.t, default: nil) - Banner image. Mobile size medium/high resolution (960x263).
  • bannerTabletExtraHdImageUrl (type: String.t, default: nil) - Banner image. Tablet size extra high resolution (2560x424).
  • bannerTabletHdImageUrl (type: String.t, default: nil) - Banner image. Tablet size high resolution (2276x377).
  • bannerTabletImageUrl (type: String.t, default: nil) - Banner image. Tablet size (1707x283).
  • bannerTabletLowImageUrl (type: String.t, default: nil) - Banner image. Tablet size low resolution (1138x188).
  • bannerTvHighImageUrl (type: String.t, default: nil) - Banner image. TV size high resolution (1920x1080).
  • bannerTvImageUrl (type: String.t, default: nil) - Banner image. TV size extra high resolution (2120x1192).
  • bannerTvLowImageUrl (type: String.t, default: nil) - Banner image. TV size low resolution (854x480).
  • bannerTvMediumImageUrl (type: String.t, default: nil) - Banner image. TV size medium resolution (1280x720).
  • largeBrandedBannerImageImapScript (type: GoogleApi.YouTube.V3.Model.LocalizedProperty.t, default: nil) - The image map script for the large banner image.
  • largeBrandedBannerImageUrl (type: GoogleApi.YouTube.V3.Model.LocalizedProperty.t, default: nil) - The URL for the 854px by 70px image that appears below the video player in the expanded video view of the video watch page.
  • smallBrandedBannerImageImapScript (type: GoogleApi.YouTube.V3.Model.LocalizedProperty.t, default: nil) - The image map script for the small banner image.
  • smallBrandedBannerImageUrl (type: GoogleApi.YouTube.V3.Model.LocalizedProperty.t, default: nil) - The URL for the 640px by 70px banner image that appears below the video player in the default view of the video watch page.
  • trackingImageUrl (type: String.t, default: nil) - The URL for a 1px by 1px tracking pixel that can be used to collect statistics for views of the channel or video pages.
  • watchIconImageUrl (type: String.t, default: nil) - The URL for the image that appears above the top-left corner of the video player. This is a 25-pixel-high image with a flexible width that cannot exceed 170 pixels.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.YouTube.V3.Model.ImageSettings{
  backgroundImageUrl: GoogleApi.YouTube.V3.Model.LocalizedProperty.t(),
  bannerExternalUrl: String.t(),
  bannerImageUrl: String.t(),
  bannerMobileExtraHdImageUrl: String.t(),
  bannerMobileHdImageUrl: String.t(),
  bannerMobileImageUrl: String.t(),
  bannerMobileLowImageUrl: String.t(),
  bannerMobileMediumHdImageUrl: String.t(),
  bannerTabletExtraHdImageUrl: String.t(),
  bannerTabletHdImageUrl: String.t(),
  bannerTabletImageUrl: String.t(),
  bannerTabletLowImageUrl: String.t(),
  bannerTvHighImageUrl: String.t(),
  bannerTvImageUrl: String.t(),
  bannerTvLowImageUrl: String.t(),
  bannerTvMediumImageUrl: String.t(),
  largeBrandedBannerImageImapScript:
    GoogleApi.YouTube.V3.Model.LocalizedProperty.t(),
  largeBrandedBannerImageUrl: GoogleApi.YouTube.V3.Model.LocalizedProperty.t(),
  smallBrandedBannerImageImapScript:
    GoogleApi.YouTube.V3.Model.LocalizedProperty.t(),
  smallBrandedBannerImageUrl: GoogleApi.YouTube.V3.Model.LocalizedProperty.t(),
  trackingImageUrl: String.t(),
  watchIconImageUrl: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.