England के पूर्व कप्तान ने कुरेदा अपनी ही टीम का जख्म, कहा- ‘Nottingham में बारिश नहीं होती तो अंग्रेजों का होता ऐसा बुरा हाल’

Ind vs Eng

नॉर्टिंघम (Nottingham) के ट्रेंट ब्रिज (Trent Bridge) में खेला गए पहले टेस्ट में टीम इंडिया (Team India) की जीत तकरीबन तय मानी जा रही थी, लेकिन 5वें दिन बारिश की वजह से एक भी गेंद नहीं फेंकी जा सकी और मैच ड्रॉ हो गया.

लोडिंग

'; var cat = "?cat=26";

/*************************************/

function fillElementWithAd($el, slotCode, size, targeting){ googletag.cmd.push(function() { googletag.pubads().display(slotCode, size, $el); }); } var maindiv = false; var dis = 0; var fbcontainer=""; var fbid = ''; var ci = 1; var adcount = 0; var pl = $("#star970275 > div.field-name-body > div.field-items > div.field-item").children('p').length; if(pl>3){ $("#star970275 > div.field-name-body > div.field-items > div.field-item").children('p').each(function(i, n){ ci = parseInt(i) + 1; t=this; var htm = $(this).html(); if((i+1)%3==0 && (i+1)>2 && $(this).html().length>20 && ci

').insertAfter(t); } adcount++; }else if(adcount>=3){ return false; } }); } var fb_script=document.createElement('script'); fb_script.text= "(function(d, s, id) {var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src="https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.9";fjs.parentNode.insertBefore(js, fjs);}(document, 'script', 'facebook-jssdk'));"; var fmain = $(".sr970275"); var fdiv = '

'; $(fdiv).appendTo(fmain);

$(document).delegate("button[id^='mf']", "click", function(){ fbcontainer=""; fbid = '#' + $(this).attr('id'); var sr = fbid.replace("#mf", ".sr");

//console.log("Main id: " + $(this).attr('id') + "Goodbye!jQuery 1.4.3+" + sr); $(fbid).parent().children(sr).toggle(); fbcontainer = $(fbid).parent().children(sr).children(".fb-comments").attr("id");

});

function onPlayerStateChange(event){ var ing, fid; console.log(event + "---player"); $('iframe[id*="video-"]').each(function(){ _v = $(this).attr('id'); console.log("_v: " + _v); if(_v != event){ console.log("condition match"); ing = new YT.get(_v); if(ing.getPlayerState()=='1'){ ing.pauseVideo(); } } }); $('div[id*="video-"]').each(function(){ _v = $(this).attr('id'); console.log("_v: " + _v + " event: " + event); if(_v != event){ //jwplayer(_v).play(false); } }); } function onYouTubePlay(vid, code, playDiv,vx, pvid){ if (typeof(YT) == 'undefined' || typeof(YT.Player) == 'undefined') { var tag = document.createElement('script'); tag.src = "https://www.youtube.com/iframe_api"; var firstScriptTag = document.getElementsByTagName('script')[0]; firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); window.onYouTubePlayerAPIReady = function() { onYouTubePlayer(vid, code, playDiv,vx, pvid); }; }else{onYouTubePlayer(vid, code, playDiv,vx, pvid);} } function onYouTubePlayer(vid, code, playDiv,vx, pvid){ //console.log(playDiv + "Get Youtue " + vid); //$("#"+vid).find(".playvideo-"+ vx).hide(); var player = new YT.Player(playDiv , { height: '450', width: '100%', videoId:code, playerVars: { 'autoplay': 1, 'showinfo': 1, 'controls': 1 }, events: { 'onStateChange': function(event){ onPlayerStateChange(event.target.a.id); } } }); $("#video-"+vid).show(); } var rtitle = "zee hindi video"; var vlabel = ""; var videoUrl = ""; function videoPlayerAPIReady(vid, code, playDiv,vx, pvid,vurl){ vlabel = vurl; if(vurl.indexOf("zee-hindustan/")>0){ rtitle = "zee hindustan video"; }else if(vurl.indexOf("madhya-pradesh-chhattisgarh/")>0){ rtitle = "zee madhya pradesh chhattisgarh video"; }else if(vurl.indexOf("up-uttarakhand/")>0){ rtitle = "zee up uttarakhand video"; }else if(vurl.indexOf("bihar-jharkhand/")>0){ rtitle = "zee bihar jharkhand video"; }else if(vurl.indexOf("rajasthan/")>0){ rtitle = "zee rajasthan video"; }else if(vurl.indexOf("zeephh/")>0){ rtitle = "zeephh video"; }else if(vurl.indexOf("zeesalaam/")>0){ rtitle = "zeesalaam video"; }else if(vurl.indexOf("zeeodisha")>0){ rtitle = "zeeodisha"; }

var dt=new Date; var nt=dt.getTime(); var vtitle = "";

var sources ={}; var config = { targetId: playDiv, provider: { partnerId: 2504201 }, playback: { pictureInPicture : true, autoplay: true }, advertising: { adBreaks: [{ position: 0, ads: [{ url: [preroll] }] }] }, plugins: { ima: { adsResponse: "" } } } var kalturaPlayer = KalturaPlayer.setup(config); if(kalturaPlayer){ kalturaPlayer.reset(); } videoUrl = code; var mediaid = '"zn' + pvid + '"'; sources = { hls: [{ id: mediaid, url: videoUrl, mimetype: "application/x-mpegURL" }] } kalturaplayerSetup(kalturaPlayer, sources); if (typeof kalturaPlayer !== 'undefined') { doRegisterEvents(kalturaPlayer); } } function kalturaplayerSetup(kalturaPlayer, playbackType){ kalturaPlayer.setMedia({ plugins: {}, sources: playbackType }); }

function doRegisterEvents(kalturaPlayer) { /* player event*/ kalturaPlayer.addEventListener(kalturaPlayer.Event.Core.PLAY, playEvent); kalturaPlayer.addEventListener(kalturaPlayer.Event.Core.PAUSE, pauseEvent); kalturaPlayer.addEventListener(kalturaPlayer.Event.Core.PLAYBACK_ENDED, playbackEndedEvent);

/* ad event */ kalturaPlayer.addEventListener(kalturaPlayer.Event.AD_STARTED, adStartedEvent); kalturaPlayer.addEventListener(kalturaPlayer.Event.AD_COMPLETED, adCompletedEvent); kalturaPlayer.addEventListener(kalturaPlayer.Event.AD_SKIPPED, adSkippedEvent); kalturaPlayer.addEventListener(kalturaPlayer.Event.AD_CLICKED,adClicked); }

var isVideoPlayed = false; var isAdSkippedCompleted = false; var videotype = rtitle; function adStartedEvent(event) { gtag('event', 'Adstarted', { 'event_category': videotype, 'event_label': vlabel}); gtag('event', 'Play', { 'event_category': videotype, 'event_label': vlabel}); isVideoPlayed = true; isAdSkippedCompleted = true; }

function adCompletedEvent(event) { gtag('event', 'Adcompleted', { 'event_category': videotype, 'event_label': vlabel}); isAdSkippedCompleted = true; }

function adSkippedEvent(event) { gtag('event', 'Adskipped', { 'event_category': videotype, 'event_label': vlabel}); isAdSkippedCompleted = true; }

function adClicked(event) { gtag('event', 'Adclicked', { 'event_category': videotype, 'event_label': vlabel}); }

function playbackEndedEvent(event){ gtag('event', 'Complete', { 'event_category': videotype, 'event_label': vlabel}); }

function playEvent(event) { if((isVideoPlayed) && (isAdSkippedCompleted)){ isAdSkippedCompleted = false; }else if((isVideoPlayed)){ gtag('event', 'resume', { 'event_category': videotype, 'event_label': vlabel}); }else{ gtag('event', 'Play', { 'event_category': videotype, 'event_label': vlabel}); isVideoPlayed = true; } }

function pauseEvent(event) { gtag('event', 'Pause', { 'event_category': videotype, 'event_label': vlabel}); }

function AdloadEvent(event) { gtag("event", "kaltura_adloaded", { "event_category": videotype, "event_label": vlabel}); }

function AdProgressEvent(event) { gtag("event", "kaltura_adprogress", { "event_category": videotype, "event_label": vlabel}); }

function adPausedEvent(event) { gtag("event", "kaltura_adpaused", { "event_category": videotype, "event_label": vlabel}); } /* End of Kaltura player function code */

$(document).delegate("div[id^='play']", "click", function(){ //console.log($(this).attr("id")); //console.log($(this).attr("video-source")); //console.log($(this).attr("video-code")); var isyoutube = $(this).attr("video-source"); var vurl = $(this).attr("video-path"); var vid = $(this).attr("id"); $(this).hide(); var pvid = $(this).attr("newsid"); var vx = $(this).attr("id").replace('play-',''); var vC = $(this).attr("video-code"); var playDiv = "video-" + vid + "-" + pvid; if(isyoutube =='No'){ videoPlayerAPIReady(vid, vC, playDiv,vx, pvid, vurl); }else{ onYouTubePlay(vid, vC, playDiv,vx, pvid); } }); $(document).delegate("div[id^='ptop']", "click", function(){ var vid = $(this).attr("id").replace('ptop',''); $(this).hide(); var pvid = $(this).attr("newsid"); //console.log($(this).attr("id") + "--" + vid); //console.log($(this).parent().children().find('#play-'+vid).attr("video-source")); //console.log($(this).parent().children().find('#play-'+vid).attr("video-code")); var isyoutube = $(this).parent().children().find('#play-'+vid).attr("video-source"); var vC = $(this).parent().children().find('#play-'+vid).attr("video-code"); var vurl = $(this).parent().children().find('#play-'+vid).attr("video-path"); var playDiv = "mvideo-play-" + vid + "-" + pvid; if(isyoutube =='No'){ //console.log(jwplayer($(this).attr("id")).getState()); videoPlayerAPIReady($(this).attr("id"), vC, playDiv, vid, pvid,vurl);

}else{ onYouTubePlay($(this).attr("id"), vC, playDiv, vid, pvid); } });

if($.autopager==false){ var use_ajax = false;

function loadshare(curl){ history.replaceState('' ,'', curl); if(window.OBR){ window.OBR.extern.researchWidget(); } //console.log("loadshare Call->" + curl); //$('html head').find('title').text("main" + nxtTitle); if(_up == false){ var cu_url = curl; gtag('config', 'UA-2069755-1', {'page_path': cu_url });

if(window.COMSCORE){ window.COMSCORE.beacon({c1: "2", c2: "9254297"}); var e = Date.now(); $.ajax({ url: "/marathi/news/zscorecard.json?" + e, success: function(e) {} }) } } } if(use_ajax==false) { //console.log('getting'); var view_selector="div.center-section"; // + settings.view_name; + '.view-display-id-' + settings.display; var content_selector = view_selector; // + settings.content_selector; var items_selector = content_selector + ' > div.rep-block'; // + settings.items_selector; var pager_selector="div.next-story-block > div.view-zhi-article-mc-all > div.view-content > div.clearfix"; // + settings.pager_selector; var next_selector="div.next-story-block > div.view-zhi-article-mc-all > div.view-content > div.clearfix > a:last"; // + settings.next_selector; var auto_selector="div.tag-block"; var img_location = view_selector + ' > div.rep-block:last'; var img_path="

लोडिंग

"; //settings.img_path; //var img = '

' + img_path + '

'; var img = img_path; //$(pager_selector).hide(); //alert($(next_selector).attr('href')); var x = 0; var url=""; var prevLoc = window.location.pathname; var circle = ""; var myTimer = ""; var interval = 30; var angle = 0; var Inverval = ""; var angle_increment = 6; var handle = $.autopager({ appendTo: content_selector, content: items_selector, runscroll: maindiv, link: next_selector, autoLoad: false, page: 0, start: function(){ $(img_location).after(img); circle = $('.center-section').find('#green-halo'); myTimer = $('.center-section').find('#myTimer'); angle = 0; Inverval = setInterval(function (){ $(circle).attr("stroke-dasharray", angle + ", 20000"); //myTimer.innerHTML = parseInt(angle/360*100) + '%'; if (angle >= 360) { angle = 1; } angle += angle_increment; }.bind(this),interval); }, load: function(){ $('div.loading-block').remove(); clearInterval(Inverval); //$('.repeat-block > .row > div.main-rhs394331').find('div.rhs394331:first').clone().appendTo('.repeat-block >.row > div.main-rhs' + x); $('div.rep-block > div.main-rhs394331 > div:first').clone().appendTo('div.rep-block > div.main-rhs' + x); $('.center-section >.row:last').before('

अगली खबर

'); $(".main-rhs" + x).theiaStickySidebar(); var fb_script=document.createElement('script'); fb_script.text= "(function(d, s, id) {var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src="https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.9";fjs.parentNode.insertBefore(js, fjs);}(document, 'script', 'facebook-jssdk'));"; var fmain = $(".sr"+ x); //alert(x+ "-" + url); var fdiv = '

'; //$(fb_script).appendTo(fmain); $(fdiv).appendTo(fmain); FB.XFBML.parse();

xp = "#star"+x;ci=0; var pl = $(xp + " > div.field-name-body > div.field-items > div.field-item").children('p').length; if(pl>3){ $(xp + " > div.field-name-body > div.field-items > div.field-item").children('p').each(function(i, n){ ci= parseInt(i) + 1; t=this; }); } var $dfpAdrhs = $('.main-rhs' + x).children().find('.adATF').empty().attr("id", "ad-300-" + x); var $dfpAdrhs2 = $('.main-rhs' + x).children().find('.adBTF').empty().attr("id", "ad-300-2-" + x); var instagram_script=document.createElement('script'); instagram_script.defer="defer"; instagram_script.async="async"; instagram_script.src="https://platform.instagram.com/en_US/embeds.js";

/*var outbrain_script=document.createElement('script'); outbrain_script.type="text/javascript"; outbrain_script.async="async"; outbrain_script.src="https://widgets.outbrain.com/outbrain.js"; var Omain = $("#outbrain-"+ x); //alert(Omain + "--" + $(Omain).length);

$(Omain).after(outbrain_script); var rhs = $('.main-article > .row > div.article-right-part > div.rhs394331:first').clone(); $(rhs).find('.ad-one').attr("id", "ad-300-" + x).empty(); $(rhs).find('.ad-two').attr("id", "ad-300-2-" + x).empty(); //$('.main-article > .row > div.article-right-part > div.rhs394331:first').clone().appendTo('.main-article > .row > div.main-rhs' + x); $(rhs).appendTo('.main-article > .row > div.main-rhs' + x); */

setTimeout(function(){

var twit = $("div.field-name-body").find('blockquote[class^="twitter"]').length; var insta = $("div.field-name-body").find('blockquote[class^="instagram"]').length; if(twit==0){twit = ($("div.field-name-body").find('twitterwidget[class^="twitter"]').length);} if(twit>0){ if (typeof (twttr) != 'undefined') { twttr.widgets.load();

} else { $.getScript('https://platform.twitter.com/widgets.js'); } //$(twit).addClass('tfmargin'); } if(insta>0){ $('.content > .left-block:last').after(instagram_script); //$(insta).addClass('tfmargin'); window.instgrm.Embeds.process(); } }, 1500); } }); /*$("#loadmore").click(function(){ x=$(next_selector).attr('id'); var url = $(next_selector).attr('href'); disqus_identifier="ZNH" + x; disqus_url = url; handle.autopager('load'); history.pushState('' ,'', url); setTimeout(function(){ //twttr.widgets.load(); //loadDisqus(jQuery(this), disqus_identifier, disqus_url); }, 6000); });*/

/*$("button[id^='mf']").live("click", disqusToggle); function disqusToggle() { console.log("Main id: " + $(this).attr('id')); }*/

var title, imageUrl, description, author, shortName, identifier, timestamp, summary, newsID, nextnews; var previousScroll = 0; //console.log("prevLoc" + prevLoc); $(window).scroll(function(){ var last = $(auto_selector).filter(':last'); var lastHeight = last.offset().top ; //st = $(layout).scrollTop(); //console.log("st:" + st); var currentScroll = $(this).scrollTop(); if (currentScroll > previousScroll){ _up = false; } else { _up = true; } previousScroll = currentScroll; //console.log("_up" + _up);

var cutoff = $(window).scrollTop() + 64; //console.log(cutoff + "**"); $('div[id^="row"]').each(function(){ //console.log("article" + $(this).children().find('.left-block').attr("id") + $(this).children().find('.left-block').attr('data-url')); if($(this).offset().top + $(this).height() > cutoff){ //console.log("$$" + $(this).children().find('.left-block').attr('data-url')); if(prevLoc != $(this).children().find('.left-block').attr('data-url')){ prevLoc = $(this).children().find('.left-block').attr('data-url'); $('html head').find('title').text($(this).children().find('.left-block').attr('data-title')); pSUPERFLY.virtualPage(prevLoc,$(this).children().find('.left-block').attr('data-title'));

//console.log(prevLoc); //history.pushState('' ,'', prevLoc); loadshare(prevLoc); } return false; // stops the iteration after the first one on screen } }); if(lastHeight + last.height()

Source link

Leave a Reply

Your email address will not be published. Required fields are marked *