📜 Tümünü Göster 🔄 Otomatiğe Al var oynatici; var sozler=[ { "time": 32.4, "text": "Oh life is bigger", "meaning": "Ah hayat daha büyük" }, { "time": 38.60104694659424, "text": "It’s bigger than you", "meaning": "Senden daha büyük" }, { "time": 40.92950100381469, "text": "And you are not me", "meaning": "Ve sen ben değilsin" }, { "time": 43.92111291607666, "text": "The lengths that I will go to", "meaning": "Gideceğim yollar" }, { "time": 47.69762698283386, "text": "The distance in your eyes", "meaning": "Gözlerindeki uzaklık" }, { "time": 53.91304905340576, "text": "Oh no I’ve said too much", "meaning": "Ah hayır, çok fazla konuştum" }, { "time": 59.977226988555906, "text": "I set it up", "meaning": "Ayarladım" }, { "time": 63.62566181689453, "text": "That’s me in the corner", "meaning": "Köşedeki benim" }, { "time": 67.27385584169006, "text": "That’s me in the spot-light", "meaning": "Spot ışığındaki benim" }, { "time": 70.90574799046325, "text": "Losing my religion", "meaning": "Dinden imandan çıkıyorum" }, { "time": 74.9768278626709, "text": "Trying to keep up with you", "meaning": "Sana ayak uydurmaya çalışırken" }, { "time": 79.80841309536743, "text": "And I don’t know if I can do it", "meaning": "Ve bunu yapabilir miyim bilmiyorum" }, { "time": 84.55348702861022, "text": "Oh no I’ve said too much", "meaning": "Ah hayır, çok fazla konuştum" }, { "time": 89.94430895231628, "text": "I haven’t said enough", "meaning": "Yeterince konuşamadan" }, { "time": 93.72032083215332, "text": "I thought that I heard you laughing", "meaning": "Güldüğünü duydum sanki" }, { "time": 97.55297591226196, "text": "I thought that I heard you sing", "meaning": "Şarkı söylediğini duyduğumu sanki" }, { "time": 102.67226017738342, "text": "I think I thought I saw you try", "meaning": "Senin bir şeyler denediğini sandım sanki" }, { "time": 110.08068402670288, "text": "Every whisper, of every waking hour", "meaning": "Her fısıltıda, her uyanık saatte" }, { "time": 115.88937289891052, "text": "I’m choosing my confessions", "meaning": "İtiraflarımı seçiyorum" }, { "time": 120.98460208964538, "text": "Trying to keep an eye on you", "meaning": "Sana göz kulak olmaya çalışıyorum" }, { "time": 125.50462119454956, "text": "Like a hurt, lost and blinded fool, fool", "meaning": "Yaralı, kayıp ve kör bir aptal, aptal gibi" }, { "time": 130.56894089509584, "text": "Oh no I’ve said too much", "meaning": "Ah hayır, çok fazla konuştum" }, { "time": 136.6332920667572, "text": "I set it up", "meaning": "Ayarladım" }, { "time": 140.42472093705751, "text": "Consider this", "meaning": "Bunu bir düşün" }, { "time": 143.473369082016, "text": "Consider this the hint of the century", "meaning": "Bunu yüzyılın ipucusu olarak kabul et" }, { "time": 148.29738697138978, "text": "Consider this the slip that brought me to my knees, failed", "meaning": "Bunu beni dizlerimin üstüne çöktüren, başarısızlığa uğratan olarak bir düşün" }, { "time": 156.82970712779237, "text": "What if all these fantasies come", "meaning": "Ya tüm bu fanteziler gerçekleşirse" }, { "time": 161.33778119645692, "text": "Flailing around", "meaning": "Etrafta dolanan" }, { "time": 163.84178104959108, "text": "Now I’ve said too much", "meaning": "İşte şimdi çok konuştum" }, { "time": 170.4102831678467, "text": "I thought that I heard you laughing", "meaning": "Güldüğünü duydum sanki" }, { "time": 174.10641708392336, "text": "I thought that I heard you sing", "meaning": "Şarkı söylediğini duyduğumu sanki" }, { "time": 179.27450694659424, "text": "I think I thought I saw you try", "meaning": "Senin bir şeyler denediğini sandım sanki" }, { "time": 195.14547604577638, "text": "But that was just a dream", "meaning": "Ama bu sadece bir rüyaydı" }, { "time": 199.12110218882754, "text": "That was just a dream", "meaning": "Bu sadece bir rüyaydı" }, { "time": 201.60894888365175, "text": "That’s me in the corner", "meaning": "Köşedeki benim" }, { "time": 205.328857038147, "text": "That’s me in the spot-light", "meaning": "Spot ışığındaki benim" }, { "time": 208.71268205340579, "text": "Losing my religion", "meaning": "Dinden imandan çıkıyorum" }, { "time": 212.95301607247927, "text": "Trying to keep up with you", "meaning": "Sana ayak uydurmaya çalışırken" }, { "time": 217.54542814114382, "text": "And I don’t know if I can do it", "meaning": "Ve bunu yapabilir miyim bilmiyorum" }, { "time": 222.5297991564026, "text": "Oh no I’ve said too much", "meaning": "Ah hayır, çok fazla konuştum" }, { "time": 227.73780197138979, "text": "I haven’t said enough", "meaning": "Yeterince konuşamadan" }, { "time": 231.6173789332428, "text": "I thought that I heard you laughing", "meaning": "Güldüğünü duydum sanki" }, { "time": 235.4658560038147, "text": "I thought that I heard you sing", "meaning": "Şarkı söylediğini duyduğumu sanki" }, { "time": 240.64903506675722, "text": "I think I thought I saw you try", "meaning": "Senin bir şeyler denediğini sandım sanki" }, { "time": 248.84136613542177, "text": "But that was just a dream", "meaning": "Ama bu sadece bir rüyaydı" }, { "time": 252.64993297711183, "text": "Try, cry, fly, try", "meaning": "Dene, ağla, uç, dene" }, { "time": 256.53805295803835, "text": "That was just a dream", "meaning": "Bu sadece bir rüyaydı" }, { "time": 259.40940999618533, "text": "Just a dream", "meaning": "Sadece bir rüyaydı" }, { "time": 261.3024079656677, "text": "Just a dream, dream", "meaning": "Sadece bir rüyaydı, rüyaydı" } ]; 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: 'xwtdhWltSIg', // 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); } }