Skip to main content

nextVideoForPlayback

Gets a video to offer for "up next" feature after a given video.

nextVideoForPlayback(
country: CountryCode
currentVideoId: String!
stationId: UUID!
): NormalizedVideo

Arguments

nextVideoForPlayback.country ● CountryCode scalar references

ISO 3166-1 alpha-2 country code for result normalization.

nextVideoForPlayback.currentVideoId ● String! non-null scalar references

ID of video to start from (find next video for).

nextVideoForPlayback.stationId ● UUID! non-null scalar references

ID of station to use for result normalization.

Type

NormalizedVideo object references

Station-normalized data for a video.

The Local Streaming data model has three types repsenting a video:

  • PbsVideo: Base type, read-only and synced from PBS Media Manager,
  • Video: Global video metadata overriding PbsVideo metadata for all stations, and
  • StationVideo: Station video metadata overriding Video and PbsVideo metadata for individual stations.

The NormalizedVideo is a combination of all three types for a specific station and country.