Skip to content

Instantly share code, notes, and snippets.

@emilisto
Last active April 16, 2021 09:25
Show Gist options
  • Save emilisto/b907c1271478e6c74f61efca2186d29c to your computer and use it in GitHub Desktop.
Save emilisto/b907c1271478e6c74f61efca2186d29c to your computer and use it in GitHub Desktop.
jwconfig-dagbladet.json
{
"advertising": {
"admessage": "Videon kommer att spelas om xx sekunder",
"adscheduleid": "RBpAHqAL",
"autoplayadsmuted": true,
"bids": {
"bidders": [
{
"id": "3508774",
"name": "PubMatic",
"pubid": "160415",
"type": "OpenRTB"
},
{
"id": "21185510",
"name": "AppNexus",
"publisherId": 1199197
}
],
"settings": {
"bidTimeout": 3000,
"buckets": [
{
"increment": 0.1,
"max": 30,
"min": 0.1
},
{
"increment": 0.5,
"max": 50,
"min": 30.5
}
],
"consentManagement": {
"gdpr": {
"cmpApi": "iab",
"defaultGdprScope": true,
"rules": [
{
"enforcePurpose": true,
"enforceVendor": true,
"purpose": "storage"
},
{
"enforcePurpose": true,
"enforceVendor": true,
"purpose": "basicAds",
"vendorExceptions": ["MediaGrid", "SpotX"]
},
{
"enforcePurpose": true,
"enforceVendor": true,
"purpose": "measurement"
}
],
"timeout": 10000
},
"usp": {
"cmpApi": "iab",
"timeout": 10000
}
},
"floorPriceCents": 500,
"mediationLayerAdServer": "dfp"
}
},
"client": "googima",
"cuetext": "Annons",
"outstream": false,
"preloadAds": true,
"rules": {
"startOnSeek": "pre",
"timeBetweenAds": 0
},
"schedule": [
{
"offset": "pre",
"tag": "https://pubads.g.doubleclick.net/gampad/ads?iu=/7783179/elle.se&description_url=https%3A%2F%2Fwww.elle.se&tfcd=0&npa=0&sz=1920x1080&cust_params=jw%3Darticle_top%26category%3D__item-category__%26brand%3D__item-brand__%26creator%3D__item-creator__%26target_brand%3D__item-target_brand__&gdfp_req=1&output=vast&unviewed_position_start=1&env=vp&correlator=[placeholder]&vpmute=0&vpa=auto&url=https%3A%2F%2Fwww.elle.se&vpos=preroll&cmsid=2546081&vid=__item-mediaid__",
"type": "linear"
}
],
"skipmessage": "Skip ad in xx seconds",
"vpaidcontrols": false,
"vpaidmode": "insecure"
},
"aspectratio": "16:9",
"autoPause": {
"viewability": true
},
"autostart": false,
"cast": {
"appid": "00000000"
},
"controls": true,
"displayHeading": false,
"displaydescription": true,
"displaytitle": true,
"flashplayer": "//ssl.p.jwpcdn.com/player/v/8.20.1/jwplayer.flash.swf",
"floating": {
"dismissible": true,
"mode": "notVisible"
},
"ga": {
"idstring": "title"
},
"height": 360,
"key": "YkSPotdx95knxsBoWPuhQ+dw+3hyoYFpuK0/nVqLIPeFnSTs+yU0TGtJjSi5gjeW",
"localization": {
"related": "Related Videos"
},
"mute": false,
"ph": 1,
"pid": "R4fmTUE5",
"playbackRateControls": false,
"plugins": {
"https://ssl.p.jwpcdn.com/player/plugins/inference/v/0.6.0/inference.js": {}
},
"preload": "metadata",
"related": {
"autoplaytimer": 0,
"file": "//cdn.jwplayer.com/v2/playlists/dgw8t7oI?related_media_id=MEDIAID",
"onclick": "play",
"oncomplete": "autoplay"
},
"repeat": false,
"stagevideo": false,
"stretching": "uniform",
"width": "100%",
"ab": {
"clientId": "10ct0q143ao3",
"tests": {
"inferencePlugin": [
{
"type": "inferencePlugin",
"id": "162",
"selection": "162_ad-iab-viewability_v4",
"variants": {
"162_ad-iab-viewability_v4": 95,
"162_ad-iab-viewability_v5-passthrough": 5
}
},
{
"type": "inferencePlugin",
"id": "161",
"selection": "161_ad-100pct-completion_v1-passthrough",
"variants": {
"161_ad-100pct-completion_v1": 10,
"161_ad-100pct-completion_v1-passthrough": 45,
"161_ad-100pct-completion_v2-passthrough": 45
}
}
],
"sendDomains": [
{
"type": "sendDomains",
"id": "128",
"selection": "128_sendDomainToFeedsOn",
"variants": {
"128_sendDomainToFeedsOn": 1
}
}
]
}
},
"playlist": "https://cdn.jwplayer.com/v2/media/jo4GWaqH",
"isTop": false
}
{
"aspectratio": "16:9",
"cast": {
"appid": "00000000"
},
"controls": true,
"displayHeading": false,
"displaydescription": false,
"displaytitle": true,
"flashplayer": "//ssl.p.jwpcdn.com/player/v/8.16.3/jwplayer.flash.swf",
"height": 360,
"key": "vwdfuit1NbvKVnnk1wpaIPjz5NAl5+ZaUJnQLQGz+WlnRGFRXWvNcotrF2Ut4qH6",
"mute": false,
"ph": 1,
"pid": "bqCwhc5a",
"playbackRateControls": false,
"plugins": {
"https://ssl.p.jwpcdn.com/player/plugins/inference/v/0.6.0/inference.js": {}
},
"preload": "metadata",
"related": {
"autoplaytimer": 3.5,
"displayMode": "overlay",
"file": "//content.jwplatform.com/v2/playlists/oG8C040p?related_media_id=MEDIAID",
"onclick": "play",
"oncomplete": "autoplay"
},
"sharing": {
"code": "%3Ciframe%20src%3D%22//content.jwplatform.com/players/MEDIAID-bqCwhc5a.html%22%20width%3D%22640%22%20height%3D%22360%22%20frameborder%3D%220%22%20scrolling%3D%22auto%22%3E%3C/iframe%3E",
"heading": "Del denne video",
"sites": [
{
"label": "\n\t\t\t<svg class=\"jw-svg-icon jw-svg-icon-twitter\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 160 160\" focusable=\"false\">\n\t\t\t<path d=\"M56.8,132.5a75.177,75.177,0,0,0,75.3-75.1V54A53.405,53.405,0,0,0,145,40.5a58.075,58.075,0,0,1-15.4,3.9,27.138,27.138,0,0,0,11.6-14.8A53.038,53.038,0,0,1,124.5,36a25.736,25.736,0,0,0-19.3-8.4A26.12,26.12,0,0,0,78.8,53.4V54a16.5,16.5,0,0,0,.7,5.8,71.966,71.966,0,0,1-54.1-27,23.9,23.9,0,0,0-3.9,13.5A26.043,26.043,0,0,0,33.1,68.2,27.018,27.018,0,0,1,20.9,65v.7A26.15,26.15,0,0,0,42.1,91.4a24.149,24.149,0,0,1-7.1.7,12.625,12.625,0,0,1-5.1-.7,25.657,25.657,0,0,0,24.5,18A53.519,53.519,0,0,1,21.6,121a19.683,19.683,0,0,1-6.4-.7,80.388,80.388,0,0,0,41.6,12.2\"></path></svg>\n\t\t\tTwitter",
"options": {
"copyText": "Kopiert"
}
},
{
"label": "<svg class=\"jw-svg-icon jw-svg-icon-facebook\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 160 160\" focusable=\"false\">\n\t\t\t<path d=\"M137.8,15H22.1A7.127,7.127,0,0,0,15,22.1V137.8a7.28,7.28,0,0,0,7.1,7.2H84.5V95H67.6V75.5H84.5v-15a23.637,23.637,0,0,1,21.3-25.9,28.08,28.08,0,0,1,4.1-.1c7.2,0,13.7.6,14.9.6V52.7H114.4c-8.5,0-9.7,3.9-9.7,9.7V74.7h19.5l-2.6,19.5H104.7v50.7h33.1a7.3,7.3,0,0,0,7.2-7.2V22A7.13,7.13,0,0,0,137.8,15Z\"></path></svg> \n\t\t\tFacebook",
"options": {
"copyText": "Kopiert"
}
},
{
"label": "\n\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"jw-svg-icon jw-svg-icon-link\" viewBox=\"0 0 160 160\" focusable=\"false\"><path d=\"M79.4,99.6H92.5v2a33.6,33.6,0,0,1-9.8,24.2l-9.8,9.8a34.716,34.716,0,0,1-48.4,0,34.716,34.716,0,0,1,0-48.4l9.2-10.5a33.6,33.6,0,0,1,24.2-9.8h1.9V80H58.5a19.359,19.359,0,0,0-15.1,6.5l-9.8,9.8a20.976,20.976,0,0,0-.5,29.6l.5.5a20.976,20.976,0,0,0,29.6.5l.5-.5,9.8-9.8a20.905,20.905,0,0,0,6.5-15h0v-2ZM135,24.4h0a34.716,34.716,0,0,0-48.4,0L76.1,34.2a33.6,33.6,0,0,0-9.8,24.2v2H79.4v-2a19.359,19.359,0,0,1,6.5-15.1l9.8-9.8a20.976,20.976,0,0,1,29.6-.5l.5.5a20.976,20.976,0,0,1,.5,29.6l-.5.5-10.5,9.8a20.905,20.905,0,0,1-15,6.5H99V93h1.3a33.6,33.6,0,0,0,24.2-9.8l9.8-9.8A34.89,34.89,0,0,0,135,24.4ZM63,106.2l42.5-42.5-9.8-9.8L53.2,96.4Z\"></path></svg>\n\t\t\tLenke\n\t\t\t",
"options": {
"copyText": "Kopiert"
}
}
]
},
"stagevideo": false,
"stretching": "uniform",
"width": "100%",
"ab": {
"clientId": "16lma8gr9l2y",
"tests": {
"inferencePlugin": [
{
"type": "inferencePlugin",
"id": "162",
"selection": "162_ad-iab-viewability_v4",
"variants": {
"162_ad-iab-viewability_v4": 95,
"162_ad-iab-viewability_v5-passthrough": 5
}
},
{
"type": "inferencePlugin",
"id": "161",
"selection": "161_ad-100pct-completion_v1",
"variants": {
"161_ad-100pct-completion_v1": 10,
"161_ad-100pct-completion_v1-passthrough": 45,
"161_ad-100pct-completion_v2-passthrough": 45
}
}
],
"sendDomains": [
{
"type": "sendDomains",
"id": "128",
"selection": "128_sendDomainToFeedsOn",
"variants": {
"128_sendDomainToFeedsOn": 1
}
}
]
}
},
"file": "https://content.jwplatform.com/manifests/7uv1aAUB.m3u8",
"playlist": "https://content.jwplatform.com/v2/media/7uv1aAUB",
"image": "https://content.jwplatform.com/thumbs/7uv1aAUB.jpg",
"mediaid": "7uv1aAUB",
"tags": "",
"starttime": 0,
"autoplaytimer": 3.5,
"uniqueId": "49a047bf-2f8c-4f30-af6b-ad52bfb8c760",
"advertising": {
"admessage": "This video will resume in xx seconds",
"adscheduleid": "49a047bf-2f8c-4f30-af6b-ad52bfb8c760",
"client": "googima",
"cuetext": "Advertisement",
"outstream": false,
"preloadAds": false,
"rules": {
"startOnSeek": "pre",
"timeBetweenAds": 0
},
"schedule": [
{
"offset": "pre",
"tag": "https://pubads.g.doubleclick.net/gampad/ads?cmsid=2498212&correlator=&description_url=https%3A%2F%2Fdagbladet.no%2F&env=vp&gdfp_req=1&implimpl=s&iu=%2F8578%2FAller_webtv%2Fdagbladet%2Farticle_click%2Frodtkort&npa=0&output=xml_vmap1&sz=480x360%7C480x361&tfcd=0&unviewed_position_start=1&vid=__item-mediaid__&vpi=1",
"type": "linear"
}
],
"skipmessage": "Skip ad in xx seconds",
"vpaidcontrols": false,
"vpaidmode": "insecure"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment