AMP - Content Feed

Document created by Herberth Alvarado Champion on Apr 13, 2016Last modified by Herberth Alvarado Champion on Jan 26, 2017
Version 8Show Document
  • View in full screen mode

Maintainer: Herberth Alvarado

This document is part of Adaptive Media Player Web User Guide

 

 

AMP Premier expects an MRSS-oriented JSON feed for content item instructions. Rather than accept a simple stream URL, the player must receive a JSON feed for each content item it is expected to play. The JSON feed shall contain the necessary metadata to operate the player successfully, including content title, description, stream URLs, and custom customer fields that drive the ad calls and analytics tracking.

 

Sample Feed

 

{

  "@attributes" : {

    "version" : "2.0"

  },

  "channel" : {

    "category" : "",

    "pubDate" : "Wed, 03 Aug 2011 10:00:21 -0400",

    "language" : "en",

    "ttl" : "10",

    "item" : {

      "title" : "Premiere Radio Networks",

      "link" : "http://hdworld.html",

      "description" : "Premiere Radio Networks",

      "category" : "",

      "pubDate" : "Wed, 03 Aug 2011 10:00:21 -0400",

      "guid" : "4255636",

      "media-group" : {

        "media-content" : [

          {

            "@attributes" : {

              "isDefault" : "true",

              "url" : "http://ccbprnrush-vh.akamaihd.net/z/PRN/premiereradionetworks/The-Rush-Limbaugh-Show/020813/45993_1360355586.47_020813ditto_848_,128,400,.mp4.csmil/manifest.f4m",

              "type" : "video/f4m",

              "medium" : "video",

              "duration" : "108"

            }

          },

          {

            "@attributes" : {

              "url" : "http://ccbprnrush-vh.akamaihd.net/i/PRN/premiereradionetworks/The-Rush-Limbaugh-Show/020813/45993_1360355586.47_020813ditto_848_,128,400,.mp4.csmil/master.m3u8",

              "duration" : "108",

              "medium" : "video",

              "type" : "application/x-mpegURL"

            }

          }],

        "media-title" : "VOD - HD World",

        "media-description" : "View world's beauty in HD",

        "media-embed" : {

          "@attributes" : {

            "url" : "http://player.js",

            "width" : "604",

            "height" : "341"

          },

          "media-param" : {

            "@attributes" : {

              "name" : "type"

            },

            "#text" : "text/javascript"

          }

        },

        "media-thumbnail" : {

          "@attributes" : {

            "url" : "../../resources/images/PRNRush.png",

            "width" : "320",

            "height" : "240"

          }

        }

      }

    }

  }

}

 

 

Important Fields

 

Field

Description

Item/guid

Unique ID of content

item/title

Title of content

Item/description

Description of content

item/media-group/media-content

Contains the stream URLs for playback. Should contain the two for the Flash and HTML5 (IOS) playback.

item/media-group/media-thumbnail

Pre-play poster. Note: Currently only one poster size is supported.

item/media-group/media-embed

Embed code info. Can influence whether the share buttons display or not. Use for content-specific sharability.

TBD

Stream labels to support device targeting

TBD

Any additional fields specific to customer to support ads or analytics calls. Custom nodes may be added

TBD

Stream labels to support device targeting

 

 

 

This document is part of Adaptive Media Player Web User Guide

Attachments

    Outcomes