AMP - Authorization

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

Maintainer: Marco Castiglioni

This document is part of Adaptive Media Player Web User Guide

 

Akamai SOLA Vision Identity Services Automation (for “TV Everywhere”)

 

The AIS (Akamai Identity Services) feature can be used with AMP, please check the following ways to setup a configuration. The XML sample is for legacy versions of the player.

 

Config JSON

config:{

  ais:{

    resources:[

      {type: "text/javascript", src: "#{paths.resources}js/ais.js"}

    ],

    platformID: "",

    resourceID: "allowed",

    contentId: "",

    responseTargets:{

      redirect: "",

      popup: ""

    },

    logos:{

      base:"",

      group: "top_providers",

      key: "filename"

    }

  }

}

 

 

Config Vars/Section (XML)

<ais type="Object">

   <resources type="Array">

      <resource type="Object">

         <type type="String">text/javascript</type>

         <src type="String"><esi:vars>$(AMPPATH)</esi:vars>/resources/js/ais.js</src>

      </resource>

   </resources>

   <platformID type="String">urn:foxnews:com:sp:staging:2</platformID>

   <resourceID type="String">FoxNews</resourceID>

   <contentID type="String">#{media.guid}</contentID>

   <responseTargets type="Object">

      <redirect type="String">amptesting</redirect>

      <popup type="String">amptesting</popup>

   </responseTargets>

   <logos type="Object">

      <base type="String"><esi:vars>$(AIS_LOGO_PATH)</esi:vars></base>

      <group type="String">top_providers</group>

      <key type="String">filename</key>

   </logos>

</ais>

 

 

This document is part of Adaptive Media Player Web User Guide

Attachments

    Outcomes