Comscore Streamsense

The Comscore Streamsense plugin. The plugin can be enabled by providing the following configuration properties:

var config = {
  plugins: {
    comscorestreamsense: {
      resources: [
        {src: "#{paths.plugins}comscorestreamsense/libs/comscore.js", type: "text/javascript", async: true},
        {src: "#{paths.plugins}comscorestreamsense/Comscorestreamsense.js", type: "text/javascript", async: true}
      ],
      clientId: "0000000",
      playerName: "Akamai Adaptive Media Player",
      metadata: {
        ads: {
          ns_st_ci: "#{media.guid}",
          c3:       "*null",
          c4:       "*null",
          c6:       "*null",
          cb2:      "*null",
          cb3:      "*null",
          cb4:      "*null",
          cb6:      "*null"
        },
        video: {
          ns_st_ci: "#{media.guid}",
          c3:       "*null",
          c4:       "*null",
          c6:       "*null",
          cb2:      "*null",
          cb3:      "*null",
          cb4:      "*null",
          cb6:      "*null"
        }
      }
    }
  }
};
akamai.amp.AMP.create("amp", config);
Last modified: 20/3/2023, AMP Support.