View Source SEO.OpenGraph.Audio (SEO v0.1.2)

Data describing an audio file.

Link to this section Summary

Functions

The og:audio property has some optional structured properties

Attributes

  • content (:any) (required)

Link to this section Types

@type mime() :: String.t()
@type t() :: %SEO.OpenGraph.Audio{
  secure_url: URI.t() | String.t(),
  type: mime(),
  url: URI.t() | String.t()
}

Link to this section Functions

Link to this function

build(attrs, default \\ nil)

View Source

The og:audio property has some optional structured properties:

  • :url - The url with metadata that describes the audio.
  • :secure_url - An alternate url to use if the webpage requires HTTPS.
  • :type - A MIME type for this audio, eg, "audio/mpeg".

attributes

Attributes

  • content (:any) (required)