var adServerUrl = “”; var $el = $( “#video_container-217929” ); var permalink = $el.closest(‘.snet-single-article’).data(‘permalink’);
/* if ( “1” == true && ‘undefined’ !== typeof window.getIndexAds ) { var so = {preroll:{1:{1:{siteID:191888},2:{siteID:191889}}} }; adServerUrl = window.getIndexAds( ‘ همچنین، پیوند ثابت); } else { adServerUrl = ” } */ adServerUrl = ” var adServerUrl_result = adServerUrl.includes(“cust_params”); var queryString=”; if(adServerUrl_result){ var gettheDUFI = localStorage.getItem(“theRED_loc”)
if(gettheDUFI){ queryString += “dufiid=” + gettheDUFI + ‘&’; queryString += “ppid=” + gettheDUFI + ‘&’; var ppid = “ppid=” + gettheDUFI + ‘&’; }
var DUFI_IP = sessionStorage.getItem(“DUFI_IP”)
if(DUFI_IP){ queryString += “dufiip=” + DUFI_IP + ‘&’; }
adServerUrl = adServerUrl.replace(/cust_params=/, ppid + ‘cust_params=” + encodeURIcomponent(queryString)); }
$el.after( unescape(“%3Cscript src=”” + (document.location.protocol == “https:” ? ” : ” + “.scorecardresearch.com/beacon.js” %3E%3C/script %3E”) )
$( document ).one( “ready’, function() { $( “#video_container-217929” ).SNPlayer( { bc_account_id: “1704050871”, bc_player_id: “JCdte3tMv”، // پخش خودکار: falsewi_autch, //toplay_ha false، bc_videos: 6340436548112، is_has_continuous_play: “false”، adserverurl: adServerUrl، بخش: “”، تصویر کوچک: “direct_url:” }); });