Demet Özdemir Kaç Doğumlu
content.indexOf("https://www.youtube.com/embed/") > -1 ) { var src2 = data.feed.entry[i].media$thumbnail.url; var thumb = ''; } else if (content.indexOf("-1 ) { var src = $content.find('img:first').attr('src'); var thumb = ''; } else { var thumb = ''; } htmlcode += '
' + thumb + '' + posttitle + '
'; } htmlcode += '
'; $("#related-posts").html(htmlcode); $(".rnav.owl-carousel").owlCarousel({ items : 3, navigation : true, navigationText : ["",""], itemsDesktop : [1000,3], itemsDesktopSmall : [647,1], itemsTablet : [396,1], itemsMobile : false, pagination : false }); $('.rnav-img').each(function() { $(this).attr('style', function(i, src) { return src.replace('/default.jpg', '/mqdefault.jpg'); }).attr('style', function(i, src) { return src.replace('s72-c', 's1600'); }); }); $("p.trans").each(function() { var e = $(this).text(); var t = $(this).attr("data-tran"); $("#pages-wrapper *").replaceText(e, t) }); } }); }); //]]>