abcnws_fw_params = {siteSectionId: 'nws_vididx_politics', siteSectionIdType: 0, siteSectionNetworkId: 168234, siteSectionFallbackId: 109527, customVisitor:'', keyValues:'pageType=videoindex'}; pc.fwSeg();pc.fwAppendKeyValues('show=');pc.getSWID();pc.subsectionOverride();
pc.affiliateCookie();
OB_FALLBACK = nextLoc;
function fw_config(){return abcnws_fw_params;}if (tq.videoOverrideContext != null) {
jsvideoViewEventProp16Value = tq.videoOverrideContext;
} else {
jsvideoViewEventProp16Value = "none";
}
if (jsvideoViewEventProp16Value == "none") { jsvideoViewEventProp16Value = ""; }
jsvideoViewEventEvar20Value = jsvideoViewEventProp16Value;
kdp_embed_default = {
doKdpEmbed : function() {
// Should only be changed if you are running Kaltura On Prem / Kaltura CE:
var service_url = "http://cdnapi.kaltura.com/";
// logic cascade for deciding which entry to load
var entry_id = this.getEntryIdFromUrl() || this.getEntryIdFromDataAttr() || this.fallback_entry;
flashembed(this.placeholder_id,
{ // attributes and params:
id : "kaltura_player_default",
src : service_url + "/index.php/kwidget/wid/_" + kdp_embed_default.partner_id +
"/uiconf_id/" + kdp_embed_default.uiconf_id + "/entry_id/" + entry_id,
height : 361,
width : 640,
bgcolor : "#000000",
allowNetworking : "all",
version : [10,0],
expressInstall : "http://cdn.kaltura.org/apis/seo/expressinstall.swf",
wmode: "transparent"
},
{ // flashvars (double-quote the values)
externalInterfaceDisabled : "false",
jsInterfaceReadyFunc : "jsInterfaceReady",
contentType: "video",
//"restrictUserAgent.restrictedUserAgents": "GoogleTV",
referer : "http://abcnews.go.com/Politics/video/south-carolina-afl-cio-president-bashes-governor-nikki-haley-pinata-16406844",
"omniture.videoViewEventEvar15Value" : "player|videoindex",
"omniture.videoViewEventProp18Value" : "player|videoindex",
"omniture.videoViewEventProp16Value" : jsvideoViewEventProp16Value,
"omniture.videoViewEventEvar20Value" : jsvideoViewEventEvar20Value,
"omniture.adStartEvar15Value" : "player|videoindex",
"omniture.adStartEvar20Value" : jsvideoViewEventEvar20Value,
noThumbnail: true,
"abcnews.displayEndCard":false,
"shareBtnControllerScreen.enabled" : "true",
"outbrainKalturaVideo.plugin": "true","outbrainKalturaVideo.isDebug": "true","outbrainKalturaVideo.relativeTo": "PlayerHolder","outbrainKalturaVideo.path": "http://widgets.outbrain.com/fl/outbrainKalturaVideo.swf","outbrainKalturaVideo.position": "lastChild","outbrainKalturaVideo.idx": "1","outbrainKalturaVideo.playerSrcId": "ABCNewsKaltura","outbrainKalturaVideo.widgetId": "VP1","outbrainKalturaVideo.displayWidget": "true","outbrainKalturaVideo.sendStats": "true",
//"video.stretchThumbnail":true,
//"volumeBar.initialValue":0.75,
//"volumeBar.forceInitialValue":true,
debugMode: true
}
)
},
onFail : function() {
alert("FLASH EMBEDDING FAILED");
},
getEntryIdFromUrl : function() {
if(location.hash.indexOf(kdp_embed_default.url_param_name) != -1) {
// get the entry id from the url document fragment (aka hash):
return location.hash.split("#")[1].substring((kdp_embed_default.url_param_name.length+1));
}
else if(location.search.indexOf(kdp_embed_default.url_param_name) != -1) {
// get the entry id from the url parameters (aka querystring):
return location.search.split("?")[1].substring((kdp_embed_default.url_param_name.length+1));
}
else {
// use the default video defined in "fallback_entry" below:
// return kdp_embed_default.fallback_entry;
return false;
}
},
getEntryIdFromDataAttr : function() {
var data_attr_val = document.getElementById(this.placeholder_id).getAttribute("data-entryid");
if(data_attr_val && !(data_attr_val
al franken mary did you know john carter trans siberian orchestra trans siberian orchestra little big town little big town
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.