📜 Tümünü Göster 🔄 Otomatiğe Al var oynatici; var sozler=[ { "time": 27.501613870300293, "text": "When you get older, plainer, saner", "meaning": "Aklın başına gelip yaşlanıp durulduğunda" }, { "time": 30.317560998092652, "text": "Will you remember all the danger", "meaning": "Hatırlayacak mısın tüm o badireleri" }, { "time": 33.293147845504755, "text": "We came from?", "meaning": "Nasıl atlattığımızı?" }, { "time": 38.517434860763544, "text": "Burning like embers, falling, tender", "meaning": "Kor gibi yanan, kıyamadan sevişlerimizin" }, { "time": 41.30132710871887, "text": "Longing for the days of no surrender", "meaning": "Vazgeçişlerin olmadığı o günleri özlüyorum" }, { "time": 44.13422311253357, "text": "Years ago", "meaning": "Yıllar önceydi" }, { "time": 46.549869062942506, "text": "And will you know", "meaning": "Anlıyorsun değil mi" }, { "time": 50.25479484359741, "text": "So smoke ’em if you got ’em", "meaning": "Varsa elinde yak bir sigara" }, { "time": 52.31854997329712, "text": "‘Cause it’s going down", "meaning": "Tepetaklak gidiyor çünkü" }, { "time": 55.791077047683714, "text": "All I ever wanted was you", "meaning": "Tek istediğim sendin" }, { "time": 61.07854410681152, "text": "I’ll never get to heaven", "meaning": "Gidemem asla cennete" }, { "time": 63.583853948501584, "text": "‘Cause I don’t know how", "meaning": "Bilmiyorum çünkü yolunu" }, { "time": 66.17499913160705, "text": "Let’s raise a glass or two", "meaning": "Hadi, bir iki kadeh kaldıralım" }, { "time": 70.71925200953675, "text": "To all the things I’ve lost on you", "meaning": "Sende yitirdiğim her şeye" }, { "time": 76.54298582070922, "text": "Tell me, are they lost on you?", "meaning": "Söylesene, yitip gittiler mi sende?" }, { "time": 81.98295887792969, "text": "Just that you could cut me loose", "meaning": "Kesip attın mı öylece" }, { "time": 87.07127405531311, "text": "After everything I’ve lost on you", "meaning": "Uğruna yitirdiğim onca şey" }, { "time": 90.99927495803833, "text": "Is that lost on you?", "meaning": "Yitip gitti mi sende?" }, { "time": 109.63068790463257, "text": "Baby, is that lost on you?", "meaning": "Bebeğim, yitip gitti mi?" }, { "time": 113.19951596376038, "text": "Is that lost on you?", "meaning": "yitip gitti mi?" }, { "time": 115.791237, "text": "Wish that I could see the machinations", "meaning": "Keşke o entrikaları görebilseydim" }, { "time": 118.50323391035461, "text": "Understand the toil of expectations", "meaning": "Beklentilerini anlayabilseydim" }, { "time": 121.34331211062621, "text": "In your mind", "meaning": "Kafanı kurcalayan" }, { "time": 126.65509095231629, "text": "Hold me like you never lost your patience", "meaning": "Sabrın hiç taşmamış gibi sarıl bana" }, { "time": 129.5596789713898, "text": "Tell me that you love me more than hate me", "meaning": "Beni sevdiğini söyle nefretten ziyade" }, { "time": 132.40739506866456, "text": "All the time", "meaning": "Hep" }, { "time": 134.85489403242494, "text": "And you’re still mine", "meaning": "Hala benim olduğunu" }, { "time": 138.2628039446869, "text": "So smoke ’em if you got ’em", "meaning": "Varsa elinde yak bir sigara" }, { "time": 140.63103703433228, "text": "‘Cause it’s going down", "meaning": "Tepetaklak gidiyor çünkü" }, { "time": 144.11931012969973, "text": "All I ever wanted was you", "meaning": "Tek istediğim sendin" }, { "time": 149.49527600953675, "text": "Let’s take a drink of heaven", "meaning": "Bir yudum alalım aşk şarabından" }, { "time": 151.70333695422363, "text": "This can turn around", "meaning": "Sevdamız kurtulabilir" }, { "time": 154.44762506484986, "text": "Let’s raise a glass or two", "meaning": "Hadi, bir iki kadeh kaldıralım" }, { "time": 159.03161407057192, "text": "To all the things I’ve lost on you", "meaning": "Sende yitirdiğim her şeye" }, { "time": 164.8149660743866, "text": "Tell me, are they lost on you?", "meaning": "Söylesene, yitip gitti mi sende?" }, { "time": 170.32749904959107, "text": "Just that you could cut me loose", "meaning": "Kesip attın mı öylece" }, { "time": 175.48663799427797, "text": "After everything I’ve lost on you", "meaning": "Uğruna yitirdiğim onca şey" }, { "time": 179.27097085313417, "text": "Is that lost on you?", "meaning": "Yitip gitti mi sende?" }, { "time": 190.36731009536743, "text": "Is that lost on you?", "meaning": "Yitip gitti mi sende?" }, { "time": 197.98319197329712, "text": "Baby, is that lost on you?", "meaning": "Bebeğim, yitip gitti mi sende?" }, { "time": 201.46309701716615, "text": "Is that lost on you?", "meaning": "Yitip gitti mi sende?" }, { "time": 220.7, "text": "Let’s raise a glass or two", "meaning": "Hadi, bir iki kadeh kaldıralım" }, { "time": 225, "text": "To all the things I’ve lost on you", "meaning": "Sende yitirdiğim her şeye" }, { "time": 231.04736706866456, "text": "Tell me are they lost on you?", "meaning": "Söylesene, yitip gitti mi sende?" }, { "time": 236.41784082643127, "text": "Just that you could cut me loose", "meaning": "Kesip attın mı öylece" }, { "time": 241.6, "text": "After everything I’ve lost on you", "meaning": "Uğruna yitirdiğim onca şey" }, { "time": 245.6, "text": "Is that lost on you?", "meaning": "Yitip gitti mi sende?" } ]; var mevcutSatir=-1; var lastMevcutSatir=-1; var sozlerGuncelleInterval; // Şarkı sözlerini oluşturma fonksiyonu sozlerOlustur(); // Tümünü göster ikonuna tıklama document.getElementById('show-all-icon').addEventListener('click', function(){ document.getElementById('sozler-kapsayici').style.height='auto'; document.getElementById('sozler-kapsayici').style.overflowY='visible'; this.style.display='none'; document.getElementById('scroll-icon').style.display='inline'; }); // Scroll moduna dön ikonuna tıklama document.getElementById('scroll-icon').addEventListener('click', function(){ document.getElementById('sozler-kapsayici').style.height='400px'; document.getElementById('sozler-kapsayici').style.overflowY='auto'; this.style.display='none'; document.getElementById('show-all-icon').style.display='inline'; }); function onYouTubeIframeAPIReady(){ oynatici=new YT.Player('oynatici', { height: '315', width: '560', videoId: 'hn3wJ1_1Zsg', // Buraya YouTube video ID'sini girin playerVars: { autoplay: 0, controls: 1, mute: 0, disablekb: 0, rel: 0, showinfo: 0, modestbranding: 1 }, events: { 'onStateChange': oynaticiDurumDegisti } }); } function oynaticiDurumDegisti(event){ if(event.data==YT.PlayerState.PLAYING||event.data==YT.PlayerState.PAUSED||event.data==YT.PlayerState.BUFFERING){ if(!sozlerGuncelleInterval){ sozleriGuncelle(); sozlerGuncelleInterval=setInterval(sozleriGuncelle, 200); } }else{ clearInterval(sozlerGuncelleInterval); sozlerGuncelleInterval=null; } } function sozleriGuncelle(){ if(!oynatici||!oynatici.getCurrentTime) return; var currentTime=oynatici.getCurrentTime(); for (var i=0; i < sozler.length; i++){ if(currentTime >=sozler[i].time&&(!sozler[i + 1]||currentTime < sozler[i + 1].time)){ if(mevcutSatir!==i){ mevcutSatir=i; sozlerStilGuncelle(); } break; } } } function sozlerStilGuncelle(){ if(lastMevcutSatir >=0){ var lastLineEl=document.getElementById('soz-' + lastMevcutSatir); if(lastLineEl){ lastLineEl.classList.remove('current'); lastLineEl.classList.add('passed'); } } var currentLineEl=document.getElementById('soz-' + mevcutSatir); if(currentLineEl){ currentLineEl.classList.add('current'); currentLineEl.classList.remove('passed'); // Mevcut satırı ekranın ortasında göstermek için otomatik kaydırma var sozlerKapsayici=document.getElementById('sozler-kapsayici'); var containerHeight=sozlerKapsayici.clientHeight; var currentLineOffset=currentLineEl.offsetTop - sozlerKapsayici.offsetTop; var scrollPosition=currentLineOffset - (containerHeight / 2) + (currentLineEl.clientHeight / 2); // Yumuşak kaydırma için özel fonksiyon animateScroll(sozlerKapsayici, scrollPosition, 300); } lastMevcutSatir=mevcutSatir; } function animateScroll(element, to, duration){ var start=element.scrollTop; var change=to - start; var startTime=performance.now(); function animateScrollStep(currentTime){ var elapsedTime=currentTime - startTime; var progress=Math.min(elapsedTime / duration, 1); element.scrollTop=start + change * easeInOutQuad(progress); if(progress < 1){ requestAnimationFrame(animateScrollStep); } } requestAnimationFrame(animateScrollStep); } function easeInOutQuad(t){ return t < 0.5 ? 2*t*t:-1+(4-2*t)*t; } function sozlerOlustur(){ var sozlerKapsayici=document.getElementById('sozler-kapsayici'); sozlerKapsayici.innerHTML=''; for (var i=0; i < sozler.length; i++){ var lyricDiv=document.createElement('div'); lyricDiv.className='sozler-satir'; lyricDiv.id='soz-' + i; lyricDiv.setAttribute('data-time', sozler[i].time); var textDiv=document.createElement('div'); textDiv.textContent=sozler[i].text; var meaningDiv=document.createElement('div'); meaningDiv.className='sozler-anlam'; meaningDiv.textContent=sozler[i].meaning; lyricDiv.appendChild(textDiv); lyricDiv.appendChild(meaningDiv); lyricDiv.addEventListener('click', function(){ var time=parseFloat(this.getAttribute('data-time')); oynatici.seekTo(time, true); }); sozlerKapsayici.appendChild(lyricDiv); } }