Skip to content

Instantly share code, notes, and snippets.

@shaunflagg
Created September 17, 2018 16:30
Show Gist options
  • Save shaunflagg/bc914286ad2cb027656817ca6686b409 to your computer and use it in GitHub Desktop.
Save shaunflagg/bc914286ad2cb027656817ca6686b409 to your computer and use it in GitHub Desktop.
Anvato live using anvp namespace
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<title>WSBTV Live using Anvato anvp namespace</title>
</head>
<body>
<script>
var anvp = {};
anvp.p0 = {};
anvp.p0.config = {
accessKey: "8v9BEynrwx8EFLYpgfOWcG1qJqyXKlRM", // anvato wsbtv/global lakana web player
token: " ",
mcp: "cox", // mcp id cox or anv
profile: "cox",
video: "c279", // wsbtv main news channel (non-monetized)
plugins: {
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]"
}
},
comscore: {
clientId: 6035944
},
}
};
</script>
<div id="p0"></div>
<script type="text/javascript" data-anvp='{"pInstance":"p0", "poster": "http://mediaweb.wsbtv.com/video/images/wsbtv-actionnews.jpg", "width":"100%", "height":"56.25%"}' 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