📜 Tümünü Göster 🔄 Otomatiğe Al var oynatici; var sozler=[ { "time": 0, "text": "Things fall apart, and time breaks your heart", "meaning": "Her şey dağılıp gider, zaman kalbini kırar" }, { "time": 21.148550866485596, "text": "I wasn't there, but I know", "meaning": "Orada değildim ama biliyorum" }, { "time": 27.54801996185303, "text": "She was your girl, you showed her the world", "meaning": "O senin manitandı, ona dünyayı tanıttın" }, { "time": 34.0898328512268, "text": "You fell out of love, and you both let go", "meaning": "Aşkınız sizi bırakınca siz de onu bıraktınız" }, { "time": 40, "text": "She was cryin' on my shoulder, all I could do was hold her", "meaning": "Omzumda ağladı, elimden gelen tek şey ona sarılmaktı" }, { "time": 46.999809143051145, "text": "Only made us closer until July", "meaning": "Temmuza kadar birbirimize iyice yakınlaştık" }, { "time": 53.590100952316284, "text": "And I know that you love me, you don't need to remind me", "meaning": "Beni sevdiğini biliyorum, bana hatırlatmana gerek yok." }, { "time": 59.6, "text": "I should put it all behind me, shouldn't I?", "meaning": "Tüm bunları geride bırakmalıyım, değil mi?" }, { "time": 64.55896998283386, "text": "But I see her in the back of my mind", "meaning": "Ama aklımın bir köşesinde hala o var" }, { "time": 71.09307590272522, "text": "All the time", "meaning": "Hiç çıkmıyor" }, { "time": 77.41477116784668, "text": "Like a fever, like I'm burning alive", "meaning": "Bir hastalık ateşi gibi, içim yanıyor" }, { "time": 84.05507116784668, "text": "Like a sign", "meaning": "Sanki bir işaret" }, { "time": 92.16445516784668, "text": "Did I cross the line?", "meaning": "Sınırı mı aştım?" }, { "time": 96.93421505340577, "text": "Mm, hm", "meaning": "Mm, hm" }, { "time": 108.3, "text": "Well, good things don't last (good things don't last)", "meaning": "Zaten güzel şeyler uzun sürmüyo (uzun sürmüyo)" }, { "time": 111.74047604196167, "text": "And life moves so fast (life moves so fast)", "meaning": "Ve hayat çok hızlı akıp gidiyo (çok hızlı)" }, { "time": 115.18179308201599, "text": "I'd never ask who was better (I'd never ask who was better)", "meaning": "Kim daha iyiydi diye sormam asla (asla sormam)" }, { "time": 121.5233088512268, "text": "'Cause she couldn't be (she couldn't be)", "meaning": "Çünkü o olamazdı (olamazdı)" }, { "time": 124.6, "text": "More different from me (more different from me)", "meaning": "Benden daha farklı olamazdı (tam zıttım)" }, { "time": 128.1183419599457, "text": "Happy and free (happy and free) in leather", "meaning": "Deri giymiş, mutlu ve özgür (mutlu ve özgür)." }, { "time": 134.46148889509584, "text": "And I know that you love me (you love me)", "meaning": "Ve biliyorum beni seviyorsun (seviyorsun)" }, { "time": 137.73256317166138, "text": "You don't need to remind me (remind me)", "meaning": "Bunu bana hatırlatma (gerek yok)" }, { "time": 140.94817204959108, "text": "Wanna put it all behind me, but, baby", "meaning": "Her şeyi geride bırakmak istiyorum ama bebeğim" }, { "time": 146.02853887602234, "text": "I see her in the back of my mind (back of my mind)", "meaning": "Aklımın bir köşesinde hala o var (aklımın bir köşesinde)" }, { "time": 152.11919294659424, "text": "All the time (all the time)", "meaning": "Hiç çıkmıyor (hiç çıkmıyor)" }, { "time": 158.50150091607668, "text": "Feels like a fever (like a fever), like I'm burning alive (burning alive)", "meaning": "Ateş gibi (ateş gibi), içimi yakıyor (yakıyor)" }, { "time": 165.18963995040895, "text": "Like a sign", "meaning": "Sanki bir işaret" }, { "time": 173.380571792099, "text": "Did I cross the line?", "meaning": "Sınırı mı aştım?" }, { "time": 179.92280001335146, "text": "You say no one knows you so well (so)", "meaning": "Hani kimsenin seni bu kadar iyi tanımadığını söylüyorsun ya (öyle)" }, { "time": 182.24029298664857, "text": "But every time you touch me, I just wonder how she felt", "meaning": "Ama bana her dokunduğunda, onun yanında nasıldı diye düşünüyorum" }, { "time": 188.14771790844728, "text": "Valentine's Day, crying in the hotel", "meaning": "Sevgililer Günü… otelde ağlıyorum" }, { "time": 193.70247604005434, "text": "I know you didn't mean to hurt me, so I kept it to myself (oh)", "meaning": "Beni incitmek istemediğini biliyorum, bu yüzden bunu kendime sakladım (ah)" }, { "time": 200.86104902861024, "text": "And I wonder", "meaning": "Ve merak ediyorum" }, { "time": 204.0018700038147, "text": "Do you see her in the back of your mind in my eyes?", "meaning": "Senin de aklının bir köşesinde hala o var mı?" }, { "time": 231, "text": "You say no one knows you so well", "meaning": "Hani kimsenin seni bu kadar iyi tanımadığını söylüyorsun ya" }, { "time": 236.63031393896486, "text": "But every time you touch me, I just wonder how she felt", "meaning": "Ama her dokunuşunda, onun ne hissettiğini düşünmeden edemiyorum" }, { "time": 243.23451914305116, "text": "Valentine's Day, crying in the hotel", "meaning": "Sevgililer Günü… otelde ağlıyorum" }, { "time": 249.01395886839296, "text": "I know you didn't mean to hurt me, so I kept it to myself", "meaning": "Beni incitmek istemediğini biliyorum, bu yüzden bunu kendime sakladım" } ]; 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: 'l08Zw-RY__Q', // 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); } }