Skip to content

Instantly share code, notes, and snippets.

View shaunflagg's full-sized avatar

Shaun Flagg shaunflagg

  • SiriusXM
  • Atlanta
  • 13:12 (UTC -04:00)
View GitHub Profile
@shaunflagg
shaunflagg / anv_live_nielsen_ex.html
Created September 17, 2018 16:54
Anvato live with Nielsen plugin
ck.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
},
nielsen: {
environment: "production",
sfcode : "us",
apid : "PE8680517-C884-43BB-802B-6DE516DAC1E5",
apn: "wsbtv-web",
@shaunflagg
shaunflagg / anv_live_aclass_ex.html
Created September 17, 2018 16:44
Anvato live using class init
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<title>WSBTV Live using Anvato class init</title>
<script type="application/javascript" src="//w3.cdn.anvato.net/player/prod/v3/scripts/anvload.js"></script>
</head>
<body>
<div id="p0"></div>
@shaunflagg
shaunflagg / anv_live_anvpns_ex.html
Created September 17, 2018 16:30
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>
@shaunflagg
shaunflagg / anv_vod_aclass_ex.html
Created September 5, 2018 16:30
Anvato vod using AnvatoPlayer class
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>WSBTV VoD - AnvatoPlayer class</title>
<script type="application/javascript" src="//w3.cdn.anvato.net/player/prod/v3/scripts/anvload.js"></script>
</head>
<body>
@shaunflagg
shaunflagg / anv_vod_anvpns_ex.html
Last active September 5, 2018 16:19
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>
@shaunflagg
shaunflagg / anv360.js
Last active December 14, 2016 22:19
Anvato 360 on/off switch
anvp.listener = threeSixtyListener;
function threeSixtyListener(e){
if (e.name == "METADATA_LOADED") {
var tags = e.args[2].tags;
console.log(tags);
if (tags.indexOf("360") > -1){
anvp.p0.config[360] = true;
}