Skip to content

Instantly share code, notes, and snippets.

@shaunflagg
Last active September 5, 2018 16:19
Show Gist options
  • Save shaunflagg/de0fa5302254b08ca8b378c1fe97ca2a to your computer and use it in GitHub Desktop.
Save shaunflagg/de0fa5302254b08ca8b378c1fe97ca2a to your computer and use it in GitHub Desktop.
Anvato video on demand anvp namespace example
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>WSBTV VoD</title>
</head>
<body>
<div id="p0"></div>
<script>
var anvp = {};
anvp.p0 = {};
anvp.p0.config = {
accessKey: "8v9BEynrwx8EFLYpgfOWcG1qJqyXKlRM",
token: " ",
plugins: {
heartbeat: {
marketingCloudId: "146234B8527835E10A490D44@AdobeOrg",
customTrackingServer: "coxnet.112.2o7.net",
trackingServer: "coxnet.hb.omtrdc.net",
jobId: "j2",
account: "coxwsbtv,coxglobal",
publisherId: "coxnet",
version: "1.5"
},
dfp: {
clientSide: {
adTagUrl: "//pubads.g.doubleclick.net/gampad/ads?sz=400x300&iu=/12523293/Atlanta_TV/wsbtv_web_default/pre_roll&impl=s&gdfp_req=1&env=vp&output=xml_vast3&unviewed_position_start=1&url=[referrer_url]&description_url=[description_url]&correlator=[timestamp]"
}
}
},
profile: "cox"
};
</script>
<script data-anvp='{"width":"100%", "height": "56.25%" ,"mcp":"anv", "video": "4475931", "pInstance":"p0"}' src="//w3.cdn.anvato.net/player/prod/v3/scripts/anvload.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment