


   	
   

 




  	
   


	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	


	
			                
		
		
	
		
		
		      
		
		
		
		
		
	
		
		
		
		 
		       
		
		 
		 
		
		      
		               
        
		
		
		
		
        
        
        
        
		
		
        
		
	


    
        
        
        
    
{
    "paths": {
        "player": "https://foxnewsplayer-a.akamaihd.net/player/9.0.23/akamai/amp/core/",
        "plugins": "https://foxnewsplayer-a.akamaihd.net/player/9.0.23/akamai/amp/",
        "assets": "https://foxnewsplayer-a.akamaihd.net/player/9.0.23/assets/"
    },
    "resources": [{
            "src": "#{paths.player}amp.css",
            "type": "text/css"
        },
        {
            "src": "#{paths.assets}css/amp.foxnews.small.css",
            "type": "text/css"
        }
    ],
    "plugins": {
        "prebid": {
            "enabled": true,
            "debug": false,
            "adServer": {
                "name": "dfp"
            },
            "resources": [{
                    "src": "#{paths.assets}js/prebid.8.47.0.js",
                    "type": "text/javascript",
                    "async": true
                },
                {
                    "src": "#{paths.plugins}prebid/Prebid.20240401.min.js",
                    "debug": "#{paths.plugins}prebid/Prebid.20240401.js",
                    "type": "text/javascript",
                    "async": true
                }
            ],
            "requestTimeout": 4000,
            "transformEnabled": false,
            "adUnits": {
                "code": "#{prebidData.codeParam}",
                "ortb2Imp": {
                    "ext": {
                        "gpid": "/4145/FNC.videos/#{adUnit}"
                    },
                    "video": {
                        "startdelay": "#{startdelayParam}"
                    }
                },
                "mediaTypes": "#{prebidData.mediaTypesParam}",
                  "bids": [
                    {
                      "bidder": "appnexus",
                      "params": "#{prebidData.appnexusParams}"
                    },
                    {
                      "bidder": "trustx",
                      "params": "#{prebidData.trustxParams}"
                    },
                    {
                      "bidder": "rubicon",
                      "params": "#{prebidData.rubiconParams}"
                    },
                    {
                      "bidder": "ix",
                      "params": "#{prebidData.indexExchangeParams}"
                    },
                    {
                      "bidder": "pubmatic",
                      "params": "#{prebidData.pubmaticParams}"
                    },
                    {
                        "bidder": "openx",
                        "params": "#{prebidData.openxParams}"
                    },
                    {
                        "bidder": "yahoossp",
                        "params": "#{prebidData.yahoosspParams}"
                    },
                    {                        
                        "bidder": "ttd",
                        "params": "#{prebidData.ttdParams}"
                    }
                  ]
            },
            "options": {
                "cache": {
                    "url": "https://prebid.adnxs.com/pbc/v1/cache",
                    "ignoreBidderCacheKey": true
                },
                "enableTIDs": true,
                "userSync": {
                    "userIds": [{
                        "name": "identityLink",
                        "params": {
                            "pid": "13258", 
                            "notUse3P": false
                        },
                        "storage": {
                            "type": "cookie",
                            "name": "idl_env",
                            "expires": 1,
                            "refreshInSeconds": 1800
                        }
                    }, 
                    { 
                        "name": "unifiedId", 
                        "params": { 
                              "url": "//match.adsrvr.org/track/rid?ttd_pid=edzz998&fmt=json" 
                        }, 
                        "storage": { 
                              "type": "cookie", 
                              "name": "pbjs-unifiedid", 
                              "expires": 60 
                        }
                    }, {
                        "name": "uid2"
                    }],
                    "filterSettings": {
                        "iframe": {
                            "bidders": ["trustx"],
                            "filter": "exclude"
                        },
                        "image": {
                            "bidders": ["trustx", "ttd"],
                            "filter": "include"
                        }
                    },
                    "syncsPerBidder": 0,
                    "syncDelay": 1e3
                },
                "consentManagement": {
                    "usp": {
                      "cmpApi": "static",
                      "consentData": {
                        "getUSPData": {
                          "uspString": "#{privacyPolicy}"
                         }
                       }
                    }
                },
                "bidderTimeout": 5000,
                "priceGranularity": {
                    "buckets": [
                        {
                            "precision": 2,
                            "min": 0,
                            "max": 30,
                            "increment": 0.10
                        },  
                        {
                            "precision": 2,
                            "min": 30,
                            "max": 100,
                            "increment": 0.50
                        }
                    ]
                },
                "pageUrl": "#{player.config.pageUrl}",
                "yahoossp": {
                    "mode": "video"
                },
                "ortb2": {
                    "site": {
                        "mobile": 1,
                        "ref": "#{this.pageRef || this.referrer}",
                        "content": {
                            "contentrating": "TV-PG",
                            "prodq": 1,
                            "livestream": "#{media.isLive ? 1 : 0}",
                            "language": "en",
                            "len": "#{(media.isLive) ? undefined : media.duration}"
                        }
                    },
                    "device": {
                        "devicetype": "#{/mw/.test(adUnit) ? 4 : /tw/.test(adUnit) ? 5 : 2}",
                        "w": "#{window.screen.width}",
                        "h": "#{window.screen.height}"
                    }
                }
            },
            "bidderSettings": {
                "standard": { "storageAllowed": true } 
            }
        },
        "amazonbidder": {
            "enabled": true,
            "debug": false,
            "transformEnabled": false,
            "deals": true,
            "resources": [
            {
                        "src": "https://strike.fox.com/static/fnc/video/Amazonbidder.js",
                        "debug": "https://dev-strike.fox.com/static/fnc/video/Amazonbidder.js",
                        "type": "text/javascript",
                        "async": true
                }
            ],
            "pubID": 3023,
            "bidTimeout": 500,
            "videoAdServer": "DFP",
            "slots": [{
                "slotID": "#{amazonBidderData.slotId}",
                "mediaType": "video"
            }],
            "params": {
                "us_privacy": "#{privacyPolicy}"
            }
        },
        "autoadvance": {
            "resources": [
                { "src": "#{paths.plugins}autoadvance/Autoadvance.js", "type": "text/javascript" },
                { "src": "#{paths.plugins}autoadvance/Autoadvance.css", "type": "text/css" }
            ],
            "interval": 10
        },
		"errormanagement": {
			"resources": [
				{
					"src": "https://foxnewsplayer-a.akamaihd.net/player/9.0.23//akamai/amp/errormanagement/Errormanagement.js",
					"type": "text/javascript"
				},
				{
					"src": "https://foxnewsplayer-a.akamaihd.net/player/9.0.23//akamai/amp/errormanagement/Errormanagement.css",
					"type": "text/css"
				}
			],
			"data": {
				"logo":"#{paths.assets}images/fox-news-logo.png",
				"site":"fn"
			  },
            "store": {
                "iPhone": "https://apps.apple.com/us/app/fox-news-live-breaking-news/id367623543",
                "iPad": "https://apps.apple.com/us/app/fox-news-live-breaking-news/id367623543",
                "android": "https://play.google.com/store/apps/details?id=com.foxnews.android&hl=en_US"
            }
		},
        "krux": {
            "resources": [{
                "src": "#{paths.plugins}krux/Krux.js",
                "type": "text/javascript"
            }],
            "beacon": "https://beacon.krxd.net/event.gif",
            "data": {
                "playback_type": "#{amp.getAutoplay() ? 'autoplay' : 'manual'}",
                "player_name": "#{playerName}",
                "video_category": "#{media.category}"
            },
            "enabled": false
        },
        "csai": {
            "enabled": false,
            "resources": [
                {
                    "src": "#{paths.plugins}csai/libs/scte35.20240130.js",
                    "type": "text/javascript"
                },
                {
                    "src": "#{paths.plugins}csai/Csai.20240130.js",
                    "debug": "#{paths.plugins}csai/Csai.20240130.min.js",
                    "type": "text/javascript"
                }
            ]
        },
        "react": {
            "enabled": true,
            "resources": [{
                    "src": "#{paths.plugins}react/libs/react.min.js",
                    "debug": "#{paths.plugins}react/libs/react.js",
                    "type": "text/javascript"
                },
                {
                    "src": "#{paths.plugins}react/React.min.css",
                    "debug": "#{paths.plugins}react/React.css",
                    "type": "text/css"
                },
                {
                    "src": "#{paths.plugins}react/React.min.js",
                    "debug": "#{paths.plugins}react/React.js",
                    "type": "text/javascript"
                },
                {
                    "src": "#{paths.assets}css/amp.foxnews.react.css",
                    "type": "text/css"
                }
            ],
            "autoHide": 5,
            "adMode": "auto",
            "mode": "auto"
        },
        "moat": {
            "enabled": false,
            "resources": [{
                    "src": "#{paths.plugins}moat/libs/moat_sdk.js",
                    "type": "text/javascript"
                },
                {
                    "src": "#{paths.plugins}moat/Moat.min.js",
                    "debug": "#{paths.plugins}moat/Moat.js",
                    "type": "text/javascript"
                }
            ],
            "partnerCode": "foxima87313513",
            "slicer1": "123",
            "slicer2": "123"
        },
        "chromecast": {
            "enabled": false,
            "resources": [{
                    "src": "#{paths.plugins}chromecast/Chromecast.min.css",
                    "debug": "#{paths.plugins}chromecast/Chromecast.css",
                    "type": "text/css"
                },
                {
                    "src": "#{paths.plugins}chromecast/Chromecast.min.js",
                    "debug": "#{paths.plugins}chromecast/Chromecast.js",
                    "type": "text/javascript"
                }
            ],
            "sdk": [{
                "src": "//www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1",
                "type": "text/javascript"
            }],
            "applicationId": "CC1AD845"
        },
        "segment": {
            "enabled": false,
            "debug": false,
            "resources": [{
                "src": "#{paths.plugins}segment/Segment.20220503.min.js",
                "debug": "#{paths.plugins}segment/Segment.20220503.js",
                "type": "text/javascript"
            }],
            "traits": {
                "lastKnownProfileId": "#{window.TrackEvent.getPageInfo().options.traits.lastKnownProfileId}",
                "dcg_profile_id": "#{window.TrackEvent.getPageInfo().options.traits['dcg_profile_id']}",
                "mvpd": "#{window.TrackEvent.getPageInfo().options.traits.mvpd}",
                "network_entitlement_list": "",
                "appsflyer_id": ""
            },
            "events": {
                "mediasequencestarted": { "include": ["airdate", "content_asset_ids", "content_asset_id", "title", "channel"], "exclude": ["content_pod_id"] },
                "adbreakend": { "exclude": ["video_ad_in_pod_position", "title"] },
                "adbreakstart": { "exclude": ["video_ad_in_pod_position", "title"] }
            },
            "properties": {
                "all": {
                    "video_station_id": "FNC",
                    "video_content_tags": "#{window.createShowCategory(media.category)}",
                    "video_network": "FNC",
                    "video_primary_business_unit": "news",
                    "video_secondary_business_unit": "news",
                    "video_content_length_format": "#{media.isLive ? 'long-form' : media.restriction.length > 0 ? 'long-form' : 'short-form'}",
                    "keywords": "#{window.TrackEvent.getPageInfo().properties.keywords}",
                    "primary_business_unit": "#{window.TrackEvent.getPageInfo().properties.primary_business_unit}",
                    "secondary_business_unit": "#{window.TrackEvent.getPageInfo().properties.secondary_business_unit}",
                    "app_name": "#{window.TrackEvent.getPageInfo().properties.app_name}",
                    "app_platform": "#{window.TrackEvent.getPageInfo().properties.app_platform}",
                    "app_version": "#{window.TrackEvent.getPageInfo().properties.app_version}",
                    "app_build": "#{window.TrackEvent.getPageInfo().properties.app_build}",
                    "page_name": "#{window.TrackEvent.getPageInfo().properties.page_name}",
                    "page_type": "#{window.TrackEvent.getPageInfo().properties.page_type}",
                    "page_content_level_1": "#{window.TrackEvent.getPageInfo().properties.page_content_level_1}",
                    "page_content_level_2": "#{window.TrackEvent.getPageInfo().properties.page_content_level_2}",
                    "page_content_level_3": "#{window.TrackEvent.getPageInfo().properties.page_content_level_3}",
                    "page_content_level_4": "#{window.TrackEvent.getPageInfo().properties.page_content_level_4}",
                    "page_timePartingDay": "#{window.TrackEvent.getPageInfo().properties.page_timePartingDay}",
                    "page_timePartingHour": "#{window.TrackEvent.getPageInfo().properties.page_timePartingHour}",
                    "page_test_name": "#{window.TrackEvent.getPageInfo().properties.page_test_name}",
                    "campaign_tracking_code": "#{window.TrackEvent.getPageInfo().properties.campaign_tracking_code}",
                    "campaign_int_tracking_code": "#{window.TrackEvent.getPageInfo().properties.campaign_int_tracking_code}",
                    "campaign_organization": "#{window.TrackEvent.getPageInfo().properties.campaign_organization}",
                    "campaign_marketing_channel": "#{window.TrackEvent.getPageInfo().properties.campaign_marketing_channel}",
                    "campaign_source": "#{window.TrackEvent.getPageInfo().properties.campaign_source}",
                    "campaign_name": "#{window.TrackEvent.getPageInfo().properties.campaign_name}",
                    "campaign_additional": "#{window.TrackEvent.getPageInfo().properties.campaign_additional}",
                    "campaign_agency": "#{window.TrackEvent.getPageInfo().properties.campaign_agency}",
                    "subscriptions_length": "#{window.TrackEvent.getPageInfo().properties.subscriptions_length}",
                    "subscriptions_list": "#{window.TrackEvent.getPageInfo().properties.subscriptions_list}",
                    "push_enabled": "#{window.TrackEvent.getPageInfo().properties.push_enabled}",
                    "page_content_personality": "#{window.TrackEvent.getPageInfo().properties.page_content_personality}",
                    "page_content_author": "#{window.TrackEvent.getPageInfo().properties.page_content_author}",
                    "page_content_author_secondary": "#{window.TrackEvent.getPageInfo().properties.page_content_author_secondary}",
                    "page_content_original_publish_date": "#{window.TrackEvent.getPageInfo().properties.page_content_original_publish_date}",
                    "page_content_major_publish_date": "#{window.TrackEvent.getPageInfo().properties.page_content_major_publish_date}",
                    "page_content_modified_date": "#{window.TrackEvent.getPageInfo().properties.page_content_modified_date}",
                    "page_content_original_publish_time": "#{window.TrackEvent.getPageInfo().properties.page_content_original_publish_time}",
                    "page_content_major_publish_time": "#{window.TrackEvent.getPageInfo().properties.page_content_major_publish_time}",
                    "page_content_modified_time": "#{window.TrackEvent.getPageInfo().properties.page_content_modified_time}",
                    "page_content_version": "#{window.TrackEvent.getPageInfo().properties.page_content_version}",
                    "page_content_title": "#{window.TrackEvent.getPageInfo().properties.page_content_title}",
                    "page_content_id": "#{window.TrackEvent.getPageInfo().properties.page_content_id}",
                    "page_content_type": "#{window.TrackEvent.getPageInfo().properties.page_content_type}",
                    "page_content_type_of_story": "#{window.TrackEvent.getPageInfo().properties.page_content_type_of_story}",
                    "page_content_tags": "#{window.TrackEvent.getPageInfo().properties.page_content_tags}",
                    "page_content_category": "#{window.TrackEvent.getPageInfo().properties.page_content_category}",
                    "page_content_subcategory": "#{window.TrackEvent.getPageInfo().properties.page_content_subcategory}",
                    "page_content_language": "#{window.TrackEvent.getPageInfo().properties.page_content_language}",
                    "page_login_state": "#{window.TrackEvent.getPageInfo().properties.page_login_state}",
                    "page_content_originator": "#{window.TrackEvent.getPageInfo().properties.page_content_originator}",
                    "page_content_distributor": "#{window.TrackEvent.getPageInfo().properties.page_content_distributor}",
                    "page_is_dark_mode": "#{window.TrackEvent.getPageInfo().properties.page_is_dark_mode}",
                    "video_player_type": "#{playerName}"
                },
                "content": {
                    "asset_id": "#{media.guid}",
                    "title": "#{media.title}",
                    "description": "#{media.description}",
                    "publisher": "Fox News",
                    "livestream": "#{media.isLive}",
                    "pod_id": "#{segment_ad_pod}",
                    "airdate": "#{media.metadata['dc-date']}",
                    "channel": "FNC"
                },
                "playback": {
                    "video_player": "#{akamai.amp.AMP.VERSION}",
                    "content_pod_id": "#{segment_ad_pod}"
                },
                "ad": {
                    "publisher": "IMA",
                    "video_ad_in_pod_position": "#{ads.currentAd.position}",
                    "title": "#{ads.currentAd && ads.currentAd.metadata ? ads.currentAd.metadata.getTitle() : ads.currentAd.title}"
                },
                "custom": {
                    "airdate": "#{media.metadata['dc-date']}",
                    "content_asset_ids": ["#{media.guid}"],
                    "title": "#{media.title}",
                    "content_asset_id": "#{media.guid}",
                    "channel": "FNC"
                }
            }
        },
        "preview": {
            "enabled": false,
            "resources": [{
                    "src": "#{paths.plugins}preview/Preview.js",
                    "type": "text/javascript"
                },
                {
                    "src": "#{paths.plugins}preview/Preview.css",
                    "type": "text/css"
                }
            ]
        },
        "ima": {
            "enabled": false,
            "version": 3,
            "resources": [{
                    "src": "//imasdk.googleapis.com/js/sdkloader/ima3.js",
                    "debug": "//imasdk.googleapis.com/js/sdkloader/ima3_debug.js",
                    "type": "text/javascript",
                    "async": true
                },
                {
                    "src": "${paths.plugins}ima/Ima.min.js",
                    "debug": "${paths.plugins}ima/Ima.js",
                    "type": "text/javascript",
                    "async": true
                }
            ],
            "maxBitrate": 3000,
            "adTagUrl": {
                "params": {
                    "sz": "#{adparamSZ}",
                    "iu": "/4145/FNC.videos/#{adUnit}",
                    "ciu_szs": "300x60",
                    "impl": "s",
                    "gdfp_req": 1,
                    "env": "instream",
                    "ad_type": "audio_video",
                    "output": "#{adOutput}",
                    "unviewed_position_start": 1,
                    "url": "#{referrer}",
                    "pod": "#{adPod}",
                    "correlator": "#{now}",
                    "pmnd": 0,
                    "pmxd": "#{adDuration}",
                    "ad_rule": "#{adRule}",
                    "cmsid": "136",
                    "vid": "#{media.guid}",               
                    "us_privacy": "#{privacyPolicy}",
                    "description_url": "#{encodeURIComponent(this.config.referrerUrl)}",
                    "pp": "#{creative_profile}",
                    "ppid": "#{xid}",
                    "ppsj": "#{ppsj}",
                    "plcmt": 1,
                    "wta": 1,
                    "vpa": "#{this.getAutoplay() && !this.autoplayblocked ? 'auto' : 'click'}",
                    "is_amp": "#{/amp/.test(playerName) ? 1 : 0}",
                    "vpos": "#{videoPosition}",
                    "url": "#{encodeURIComponent(this.config.pageUrl || this.config.referrerUrl)}",
                    "trt": 2,
                    "cust_params": {
                        "loc": "#{hostname}",
                        "intcmp": "#{intcmp}",
                        "local": "#{adBreakId}",
                        "mvpd": "#{mvpdProvider.name}",  
                        "kuid": "#{kuid}",
                        "ksg": "#{ksg}",
                        "amzniid": "amzniid_value",
                        "amznbid": "amznbid_value",
                        "amznp": "amznp_value",
                        "amzniid_sp": "amzniid_sp_value", 
                        "amznp_sp": "amznp_sp_value", 
                        "amzndeal_sp": "amzndeal_sp_value", 
                        "amznsz_sp": "amznsz_sp_value", 
                        "amznbid_sp": "amznbid_sp_value", 
                        "us_privacy": "#{privacyPolicy}",
                        "g": "#{grapeshot}",
                        "click": "#{clickToPlay}",
                        "atlas": "#{atlas}",
                        "ss_request_key": "ss_request_key_value", 
                        "ss_ad_cache_key": "ss_ad_cache_key_value", 
                        "ss_region": "ss_region_value",
                        "ss_3v_total": "ss_3v_total_value",
                        "ss_bid_total": "ss_bid_total_value",
                        "xid": "#{xid}",
                        "fp_lr": "#{liveRamp}",
                        "fp_td": "#{hasUid2}",
                        "noticias": "#{referrer && /noticias/.test(referrer) ? '1' : '0' }",
                        "isStrikeMediator": "false",
                        "mobian_ap_p0": "mobian_ap_p0_value",
                        "mobian_ap_p1": "mobian_ap_p1_value",
                        "mobian_ap_a0": "mobian_ap_a0_value",
                        "mobian_ap_a1": "mobian_ap_a1_value",
                        "mobian_categories": "mobian_categories_value",
                        "mobian_emotions": "mobian_emotions_value",
                        "mobian_genres": "mobian_genres_value",
                        "mobian_risk": "mobian_risk_value",
                        "mobian_sentiment": "mobian_sentiment_value",
                        "mobian_themes": "mobian_themes_value",
                        "mobian_tones": "mobian_tones_value"
                    }
                }
            },
            "adsRenderingSettings":{
                "loadVideoTimeout": 15000
            },
            "overlay2": {
                "height": 150,
                "width": 640
            },
            "vpaidMode": "insecure",
            "companions": [{
                "id": "companion-container",
                "width": 300,
                "height": 60
            }],
            "params": {
                "manual": {
                    "pmxd": "#{adDuration}",
                    "pmnd": "0",
                    "ad_rule": "0",
                    "output": "xml_vast2"
                },
                "adTag": {
                    "vid": "#{media.guid}",
                    "url": "#{document.referrer}",
                    "ad_rule": "1"
                }
            }
        },
        "chartbeatanalytics": {
            "enabled": false,
            "resources": [{
                "src": "#{paths.plugins}chartbeatanalytics/Chartbeatanalytics.js",
                "type": "text/javascript"
            }],
            "sdk": [{
                "src": "//static.chartbeat.com/js/chartbeat_video.js",
                "type": "text/javascript"
            }],
            "data": {
                "uid": 8917,
                "domain": "foxnews.com",
                "useCanonical": true,
                "sections": "#{section}",
                "authors": "Fox News",
                "path": "#{window.location.pathname}",
                "autoDetect": false
            }
        },
        "nielsenlegacy": {
            "enabled": false,
            "resources": [
                {
                    "src": "#{paths.plugins}nielsenlegacy/Nielsenlegacy.min.js",
                    "debug": "#{paths.plugins}nielsenlegacy/Nielsenlegacy.js",
                    "type": "text/javascript",
                    "async": true
                }
            ],
            "url": "https://secure-us.imrworldwide.com/cgi-bin/m",
            "data": {
                "ci": "us-801796",
                "c6": "vc,c01",
                "cg": "#{(media.isLive)  ? 'Live' : 'OnDemand'}",
                "tl": "dav0-#{media.title}"
            },
            "events": {
                "video": [{
                        "type": "started"
                    },
                    {
                        "type": "ended",
                        "data": {
                            "tl": "dav2-#{media.title}"
                        }
                    }
                ]
            }
        },
        "comscorestreamsense": {
            "enabled": false,
            "resources": [{
                    "src": "#{paths.plugins}comscorestreamsense/libs/comScore-JS-6.3.1.181004.min.js",
                    "type": "text/javascript",
                    "async": true
                },
                {
                    "src": "#{paths.plugins}comscorestreamsense/Comscorestreamsense.js",
                    "type": "text/javascript",
                    "async": true
                }
            ],
            "clientId": "9013181",
            "publisherSecret": "publisherSecretId",
            "appVersion": "0000000",
            "metadata": {
                "ads": {
                    "ns_st_cl": "#{ads.currentAd && ads.currentAd.duration ? ads.currentAd.duration > 0 ? ads.currentAd.duration * 1000 : ads.currentAd.duration * -1000 : 0}",
                    "c3": "Fox News",
                    "c4": "#{comscoreC4 ? comscoreC4 : (media.isLive)  ? '5614615980001' == media.guid || '5614626175001' == media.guid || '5640669329001' == media.guid ? 'tve_stream' : 'live_stream' : window.createShowSection(media.category)}",
                    "c6": "#{(media.isLive)  ? 'live' : 'vod'}",
                    "ns_st_pr": "#{(media.isLive) ? '*null' : window.createShowName(media.category) ? window.createShowName(media.category) : '*null'}"
                },
                "video": {
                    "ns_st_ci": "#{media.guid}",
                    "ns_st_pr": "#{(media.isLive) ? '*null' : window.createShowName(media.category) ? window.createShowName(media.category) : '*null'}",
                    "ns_st_sn": "*null",
                    "ns_st_en": "*null",
                    "ns_st_ep": "*null",
                    "ns_st_st": "*null",
                    "ns_st_pu": "Fox News",
                    "ns_st_cl": "#{(media.isLive)  ? 0 : Math.floor(media.duration) * 1000}",
                    "ns_st_ge": "News",
                    "ns_st_ti": "#{media.guid}",
                    "ns_st_ia": "*null",
                    "ns_st_ce": "*null",
                    "ns_st_ddt": "#{media.metadata['dc-date']}",
                    "ns_st_tdt": "#{media.metadata['dc-date']}",
                    "c3": "Fox News",
                    "c4": "#{comscoreC4 ? comscoreC4 : (media.isLive)  ? '5614615980001' == media.guid || '5614626175001' == media.guid || '5640669329001' == media.guid ? 'tve_stream' : 'live_stream' : window.createShowSection(media.category)}",
                    "c6": "#{(media.isLive)  ? 'live' : 'vod'}"
                }
            }
        },
        "mediaanalytics": {
            "enabled": false,
            "resources": [{
                    "src": "//79423.analytics.edgekey.net/ma_library/javascript/javascript_malibrary.js",
                    "type": "text/javascript",
                    "async": true
                },
                {
                    "src": "#{paths.plugins}mediaanalytics/Mediaanalytics.min.js",
                    "debug": "#{paths.plugins}mediaanalytics/Mediaanalytics.js",
                    "type": "text/javascript",
                    "async": true
                }
            ],
            "plugin": {
                "swf": ""
            },
            "config": "https://ma1498-r.analytics.edgekey.net/config/beacon-29282.xml",
            "dimensions": {
                "fnc_streamname": "#{media.src}",
                "contentType": "title",
                "title": "#{media.title}",
                "titleId": "#{media.guid}",
                "contentLength": "#{media.duration}",
                "playerName": "#{playerName}",
                "playerId": "#{akamai.amp.AMP.VERSION || 'AMP v9.0.23+premier'}",
                "foxdevice": "web",
                "subCategory": "#{media.metadata['dc-source']}",
                "category": "#{Array.isArray(media.category) ? media.category.toString() : media.category}",
                "show": "#{window.createShowName(media.category)}",
                "pageUrl": "#{player.domain}",
                "pageReferrer": "#{document.referrer}",
                "device": "#{player.mode}"
            },
            "iplookup": false
        },
        "heartbeat": {
            "enabled": true,
            "resources": [
              {
                "src": "#{paths.plugins}/omniture/libs/MediaSDK.min.js",
                "type": "text/javascript"
              },
              {
                "type": "text/javascript",
                "src": "//global.fncstatic.com/static/isa/app/lib/VisitorAPI.orig.js"
            },
              {
                "src": "#{paths.plugins}/omniture/Omniture.js",
                "type": "text/javascript"
              }
            ],
            "appMeasurement": {
              "account": "foxnews",
              "pageName": "#{omtr.prop5 || omtr.pageName ? omtr.pageName : 'NA'}",
              "trackingServer": "smetrics.foxnews.com",
              "trackingServerSecure": "smetrics.foxnews.com"
            },
            "visitor": {
              "marketingCloudOrgId": "17FC406C5357BA6E0A490D4D@AdobeOrg",
              "trackingServer": "metrics.foxnews.com",
              "trackingServerSecure": "smetrics.foxnews.com",
              "marketingCloudServer": "metrics.foxnews.com",
              "marketingCloudServerSecure": "smetrics.foxnews.com"
            },
            "ssl": true,
            "publisher": "17FC406C5357BA6E0A490D4D@AdobeOrg",
            "trackingServer": "foxnews.hb.omtrdc.net",
            "channel": "Fox News",
            "ovp": "#{akamai.amp.AMP.VERSION}:html5",
            "playerName": "#{playerName}",
            "liveLinear": {
                "enabled": "#{media.isLive ? true : false}",
                "timezone": "-05:00"
            },
            "contextData": {
                "a.media.view": true
            },
            "metadata": {
                "video": {
                    "fn.ContentLevel1": "#{(this.ampProps && this.ampProps.prop1) || omtr.prop1 || 'NA'}",
                    "fn.ContentLevel2": "#{(this.ampProps && this.ampProps.prop2) || omtr.prop2 || 'NA'}",
                    "fn.ContentLevel3": "#{(this.ampProps && this.ampProps.prop3) || omtr.prop3 || 'NA'}",
                    "fn.ContentLevel4": "#{(this.ampProps && this.ampProps.prop4) || omtr.prop4 || 'NA'}",
                    "fn.PageName": "#{(this.ampProps && this.ampProps.pageName) || omtr.prop5 || omtr.pageName || 'NA'}",
                    "fn.GlobalLinkName": "#{omtr.pageURL || 'NA'}",
                    "fn.PageNameLinkNameID": "#{omtr.prop7 || 'NA'}",
                    "fn.PagesConversion": "#{omtr.eVar10 || 'NA'}",
                    "fn.ContentName": "#{(this.ampProps && this.ampProps.prop12) || omtr.prop12 || 'NA'}",
                    "fn.InternalCampaignCode": "#{eVar17 ? eVar17 : omtr.eVar17 ? omtr.eVar17 : omtr._campaignID ? omtr._campaignID : 'NA'}",
                    "fn.NewvsRepeatVisitors": "#{omtr.eVar22 || 'NA'}",
                    "fn.VisitorNumberPerMonth": "#{omtr.prop26 || 'NA'}",
                    "fn.DaysSinceLastVisit": "#{omtr.prop27 || 'NA'}",
                    "fn.AltPagesReport": "#{(this.ampProps && this.ampProps.prop40) || omtr.prop40 || 'NA'}",
                    "fn.Hour": "#{(this.ampProps && this.ampProps.prop41) || omtr.eVar41 || omtr.prop41 || 'NA'}",
                    "fn.Day": "#{omtr.eVar42 || omtr.prop42 ? omtr.prop42 : 'NA'}",
                    "fn.PublishDate": "#{(this.ampProps && this.ampProps.eVar54) || omtr.eVar54 || Date(now)}",
                    "fn.ContentID": "#{window.TrackEvent.getPageInfo().properties.page_content_id}",
                    "fn.ContentType": "#{(this.ampProps && this.ampProps.prop13) || omtr.prop13 || omtr.eVar13 || 'NA'}",
                    "fn.ContentAuthor": "#{(this.ampProps && this.ampProps.prop14) || omtr.prop14 || 'NA'}",
                    "fn.ContentSource": "#{omtr.prop15 || media.metadata['dc-source']}",
                    "fn.Category": "#{(this.ampProps && this.ampProps.eVar53) || omtr.eVar53 || 'NA'}",
                    "fn.VideoCategory": "#{eVar33 || 'NA'}",
                    "fn.Personality": "#{eVar34 || 'NA'}",
                    "fn.Show": "#{eVar32 || 'NA'}",
                    "fn.PageLoadEvents": "event1,event42",
                    "fn.ExternalCampaigns": "#{omtr.prop47 ? omtr.prop47 : 'NA'}",
                    "fn.UserID": "#{omtr.marketingCloudVisitorID || 'NA'}",
                    "fn.PlayType": "#{amp.autoplay ? 'auto-play' : 'manual'}",
                    "a.media.pass.mvpd": "#{window.TrackEvent.getPageInfo().options.traits.mvpd}",
                    "fn.user_fox_known_profile_id": "#{omtr.eVar142 || 'NA'}",
                    "fn.user_fox_last_known_profile_id": "#{omtr.eVar141 || 'NA'}",
                    "fn.PageContentDistributor": "#{(this.ampProps && this.ampProps.prop18) || 'owned'}",
                    "v66": "#{getFoxSportsOriginalID(media) || 'NA'}"
                }
            }
        },
        "foxnewsmediator":{
            "resources": [
                {
                    "src":"${paths.plugins}foxnewsmediator/Foxnewsmediator.20251020.min.js",
                    "debug":"${paths.plugins}foxnewsmediator/Foxnewsmediator.20251020.js",
                    "type": "text/javascript"
                }
            ],
            "site":"fn"
        },
        "mrss": {
            "resources": [
              {
                "src": "${paths.plugins}mrss/Mrss.min.js",
                "debug": "${paths.plugins}mrss/Mrss.js",
                "type": "text/javascript"
              }
            ],
            "url": "../resources/feeds/vod-feed.json"
        },
        "wtAdTracer": {
            "enabled": false,
            "resources": [
              { 
                  "src": "https://cdn.watchingthat.net/wtat.plugin-amp_ima.min.js", 
                  "type": "text/javascript", 
                  "async": true 
              }
            ],
            "config": {
              "apiKey": "Zkk5Z2thRVhPNnxjZjhkNzYzMzE5MTk0MjA0MTZlNjg2MmZlNjA5YTkwZA=="
            }
        },
        "foxnewsextensions": {
            "resources": [{
                    "src": "#{paths.plugins}foxnewsextensions/Foxnewsextensions.min.js",
                    "debug": "#{paths.plugins}foxnewsextensions/Foxnewsextensions.js",
                    "type": "text/javascript"
                }
            ]
        }
    },
    "params": {
        "playerName": "fullpage",
        "show": "#{window.createShowName(media.category)}",
        "personality": "#{window.createShowPersonality(media.category)}",
        "section": "#{window.createShowSection(media.category)}",
        "aam": "DEFAULTAAM",
        "aamId": "DEFAULTAAMID",
        "eVar17": "",
        "eVar32": "SHOWNAME",
        "prop32": "SHOWNAME",
        "eVar33": "CATEGORY",
        "prop33": "CATEGORY",
        "eVar34": "PERSONALITY",
        "prop34": "PERSONALITY",
        "comscoreC4": "",
        "sdmax": "90000",
        "adparamSDMAX": "90000",
        "adparamSZ": "1001x1001",
        "paramIsLive": false,
        "parentEmbedUrl": "NO-URL",
        "adDuration": 0,
        "adBreakId": 0,
        "adRule": 1,
        "adOutput": "xml_vmap1",
        "adPod": 0,
        "adUnit": "desk/vid/clip",
        "kuid": "DEFAULTKUID",
        "ksg": "",
        "privacyPolicy": "1---",
        "grapeshot": "grapeshot_value",
        "atlas": "atlas_value",
        "clickToPlay": "#{this.getAutoplay() && this.autoplayblocked !== true ? 'no' : 'yes'}",
        "autoplayblocked": false,
        "intcmp": "DEFAULTINTCMP",
        "hostname": "HOSTNAME",
        "mvpdname": "DEFAULTMVPDNAME",
        "referrer": "referrer_value",
        "creative_profile": "pp_value",
        "liveRamp": "liveramp_value",
        "hasUid2": 0,
        "uid2Token": "uid2_value",
        "ppsj": "ppsj_value",
        "startdelayParam": "#{/go|wfast/.test(adUnit) ? 1234 : 0}",
        "videoPosition": "preroll",
        "prebidData": {
            "codeParam": "fnc/desk/vid/clip",
            "mediaTypesParam": {
                "video": {
                  "context": "instream",
                  "skip": 1,
                  "skipafter": 5,
                  "playerSize": ["#{width}", "#{height}"],
                  "mimes": ["application/javascript", "video/mp4", "video/webm", "application/x-javascript", "video/3gpp", "video/mpeg", "application/x-mpegurl", "application/vnd.apple.mpegurl", "application/x-mpegurl", "application/ogg", "video/ogg", "video/quicktime", "video/x-m4v", "video/ms-asf", "video/x-ms-wmv", "video/x-msvideo"],
                  "protocols": [2, 3, 5, 6, 7, 8],
                  "playbackmethod": [1, 2, 3],
                  "minduration": 1,
                  "maxduration": 35,
                  "linearity": 1,
                  "api": [1,2]
                }
              },
            "trustxParams": {
              "uid": 21548,
              "useNewFormat": true
            },
            "appnexusParams": {
              "placementId": 20978229,
              "video": {
                "context": "pre_roll",
                "mimes": [
                  "application/javascript",
                  "video/mp4",
                  "video/webm",
                  "application/x-javascript",
                  "video/3gpp",
                  "video/mpeg",
                  "application/x-mpegurl",
                  "application/vnd.apple.mpegurl",
                  "application/x-mpegurl",
                  "application/ogg",
                  "video/ogg",
                  "video/quicktime",
                  "video/x-m4v",
                  "video/ms-asf",
                  "video/x-ms-wmv",
                  "video/x-msvideo"
                ],
                "minduration": 1,
                "maxduration": 35,
                "startdelay": 0,
                "skippable": true,
                "playback_method": [
                  "auto_play_sound_on",
                  "auto_play_sound_off",
                  "click_to_play"
                ],
                "frameworks": [1,2]
              },
              "position": "above",
              "supplyType": "web"
            },
            "rubiconParams": {
              "accountId": "13226",
              "siteId": "330322",
              "zoneId": "1963810",
              "position": "atf",
              "video": {
                "playerWidth": "#{width}",
                "playerHeight": "#{height}",
                "size_id": 201,
                "language": "en"
              }
            },
            "spotxParams": {
              "channel_id": 308877,
              "ad_unit": "instream",
              "position": 1,
              "secure": true,
              "mimes": [
                "application/javascript",
                "video/mp4",
                "video/webm",
                "application/x-javascript",
                "video/3gpp",
                "video/mpeg",
                "application/x-mpegurl",
                "application/vnd.apple.mpegurl",
                "application/x-mpegurl",
                "application/ogg",
                "video/ogg",
                "video/quicktime",
                "video/x-m4v",
                "video/ms-asf",
                "video/x-ms-wmv",
                "video/x-msvideo"
              ]
            },
            "indexExchangeParams": {
              "siteId": "626988",
              "size": ["#{width}", "#{height}"],
              "video": {
                "mimes": [
                  "application/javascript",
                  "video/mp4",
                  "video/webm",
                  "application/x-javascript",
                  "video/3gpp",
                  "video/mpeg",
                  "application/x-mpegurl",
                  "application/vnd.apple.mpegurl",
                  "application/x-mpegurl",
                  "application/ogg",
                  "video/ogg",
                  "video/quicktime",
                  "video/x-m4v",
                  "video/ms-asf",
                  "video/x-ms-wmv",
                  "video/x-msvideo"
                ],
                "minduration": 1,
                "maxduration": 35,
                "protocols": [2, 3, 5, 6, 7, 8]
              }
            },
            "pubmaticParams": {
              "publisherId": "158583",
              "adSlot": "videos_desk_vid_clip_fallback",
              "video": {
                "mimes": [
                  "application/javascript",
                  "video/mp4",
                  "video/webm",
                  "application/x-javascript",
                  "video/3gpp",
                  "video/mpeg",
                  "application/x-mpegurl",
                  "application/vnd.apple.mpegurl",
                  "application/x-mpegurl",
                  "application/ogg",
                  "video/ogg",
                  "video/quicktime",
                  "video/x-m4v",
                  "video/ms-asf",
                  "video/x-ms-wmv",
                  "video/x-msvideo"
                ],
                "skippable": true,
                "minduration": 1,
                "maxduration": 35,
                "startdelay": 0,
                "playbackmethod": [1, 2, 3],
                "api": [1,2],
                "protocols": [2, 3, 5, 6, 7, 8],
                "linearity": 1,
                "placement": 1
              }
            },
            "openxParams": {
                "unit": "543886858",
                "delDomain": "foxnews-d.openx.net"
            },
            "yahoosspParams": {
                "placementId": "8a9699ef018181ee45d4ee719fb70012",
                "siteId": "8a9695a1018181b5c4abb662367b0044"
            },
            "ttdParams": {
                "supplySourceId": "foxcorp",
                "publisherId": 1
            }
        },
        "amazonBidderData": {
            "slotId": "Web_clip_fallback"
        }
    },
    "captioning": {},
    "domain": "video.foxnews.com",
    "debug": false,
    "autoplay": true,
    "autoplayPolicy": "default",
    "controls": {
        "enabled": false
    },
    "name": "fullpage",
    "volume": 0.5,
    "settings": {
        "enabled": true,
        "defaults": {
            "autoplay": true,
            "captions": {
                "visible": false,
                "fontFamily": "Roboto, 'Arial Unicode Ms', Arial, Helvetica, Verdana, 'PT Sans Caption', sans-serif",
                "size": "small",
                "scroll": "popout",
                "fontColor": "rgba(255, 255, 0, 1)",
                "edgeType": "text-shadow: 0px 0px 0px",
                "edgeColor": "rgba(0, 0, 0, 0)",
                "backgroundColor": "rgba(0, 0, 0, 0)",
                "windowColor": "rgba(0, 0, 0, 0.5)"
            }
        }
    },
    "hls": {
        "enabled": true,
        "resources": [{
            "type": "text/javascript",
            "src": "#{paths.player}/libs/hls.min.js"
        }],
        "quality": {
            "startLevel": 1
        },
        "data": {
            "debug": true,
            "enableWorker": true,
            "capLevelToPlayerSize": false,
            "enableSoftwareAES": true,
            "fragLoadingMaxRetry": 3,
            "levelLoadingMaxRetry": 2
        },
        "withCredentials": false
    },
    "playsinline": true,
    "locales": {
        "en": {
            "MSG_MEDIA_ERR_ABORTED": "Sorry, something went wrong. Please refresh your browser <p>If problems persist please seek help <a target='_blank' href='https://help.foxnews.com/hc/en-us'>here</a></p>",
			"MSG_MEDIA_ERR_NETWORK": "Sorry, something went wrong. Please refresh your browser <p>If problems persist please seek help <a target='_blank' href='https://help.foxnews.com/hc/en-us'>here</a></p>",
			"MSG_MEDIA_ERR_DECODE": "Sorry, something went wrong. Please refresh your browser <p>If problems persist please seek help <a target='_blank' href='https://help.foxnews.com/hc/en-us'>here</a></p>",
			"MSG_MEDIA_ERR_SRC_NOT_SUPPORTED": "Sorry, something went wrong. Please refresh your browser <p>If problems persist please seek help <a target='_blank' href='https://help.foxnews.com/hc/en-us'>here</a></p>",
            "MSG_AMP_GENERIC_ERROR": "Sorry but the video you're trying to play can not be found <p>If problems persist please seek help <a target='_blank' href='https://help.foxnews.com/hc/en-us'>here</a></p>"        
        }
    },
    "geoinfo": {
        "nonEU": false,
        "country": "1",
        "dictionary": "['AT', 'BE', 'UK', 'BG', 'HR', 'CY', 'CZ', 'DK', 'EE', 'FI', 'FR', 'DE', 'GR', 'HU', 'IE', 'IT', 'LV', 'LT', 'LU', 'MT', 'NL', 'PL', 'PT', 'RO', 'SK', 'SI', 'ES', 'SE', 'GB']"
    }
}
