📜 Tümünü Göster 🔄 Otomatiğe Al var oynatici; var sozler=[ { "time": 17.91906004768372, "text": "We were speeding together", "meaning": "Birlikte hızla geçiyorduk" }, { "time": 20.278670919891358, "text": "Down the dark avenues", "meaning": "Karanlık caddelerden" }, { "time": 25.343874942779543, "text": "But besides of the stardom", "meaning": "Ama şöhretten çok" }, { "time": 27.9904270038147, "text": "All we got was blues", "meaning": "Hüzünler kaldı elimizde" }, { "time": 32.80548201525879, "text": "But through all of that sorrow", "meaning": "Bunca acıya rağmen yine de" }, { "time": 35.4385699923706, "text": "We were riding high", "meaning": "Yükseklerde uçuyorduk" }, { "time": 40.04630916593933, "text": "And the truth of the matter is", "meaning": "Ve işin aslı şu ki" }, { "time": 42.614803805450435, "text": "I never let you go, let you go", "meaning": "Seni hiç bırakmadım, bırakmayacağım" }, { "time": 47.46251693515014, "text": "We were scanning the cities", "meaning": "Şehir şehir dolaşıp" }, { "time": 49.782763167846674, "text": "Rocking to pay the dues", "meaning": "Borçlarımızı ödemek için rock yapıyorduk" }, { "time": 54.846728045776366, "text": "But besides of the glamour", "meaning": "Ama şatafattan çok" }, { "time": 57.34298900190735, "text": "All we got was bruised", "meaning": "Yaralar kaldı elimizde" }, { "time": 62.20696298855591, "text": "But through all of that sorrow", "meaning": "Bunca acıya rağmen yine de" }, { "time": 64.90297296948242, "text": "We were riding high", "meaning": "Yükseklerde uçuyorduk" }, { "time": 69.57457982643128, "text": "And the truth of the matter is", "meaning": "Ve işin aslı şu ki" }, { "time": 71.93643418310546, "text": "I never let you go, let you go", "meaning": "Seni hiç bırakmadım, bırakmayacağım" }, { "time": 80.72811390463256, "text": "You go down just like Holy Mary", "meaning": "Kutsal Meryem gibi alçalıyorsun" }, { "time": 84.42406201716614, "text": "Mary on a, Mary on a cross", "meaning": "Haçta, Haçta Meryem" }, { "time": 88.41634013160706, "text": "Not just another Bloody Mary", "meaning": "Sadece bir Kanlı Meryem değil bu" }, { "time": 91.88843410108947, "text": "Mary on a, Mary on a cross", "meaning": "Haçta, Haçta Meryem" }, { "time": 96.45682018692017, "text": "If you choose to run away with me", "meaning": "Eğer benimle kaçmayı seçersen" }, { "time": 100.12823608964538, "text": "I will tickle you internally", "meaning": "Karnında kelebekler uçuşturacağım" }, { "time": 104.12018308010865, "text": "And I see nothing wrong with that", "meaning": "Ve bunda yanlış bir şey görmüyorum" }, { "time": 125.05734580735779, "text": "We were searching for reasons", "meaning": "Nedenler arıyorduk" }, { "time": 127.6011637882843, "text": "To play by the rules", "meaning": "Kurallara göre oynamak için" }, { "time": 132.48096211634828, "text": "But we quickly found", "meaning": "Ama bir fark ettik ki" }, { "time": 135.16098608773805, "text": "It was just for fools", "meaning": "Bunlar sadece aptallar içinmiş" }, { "time": 139.70535890272524, "text": "Now through all of this sorrow", "meaning": "Bunca acıya rağmen" }, { "time": 142.35963189128114, "text": "We'll be riding high", "meaning": "Yükseklerde uçacağız" }, { "time": 147.1293799523163, "text": "And the truth of the matter is", "meaning": "Ve işin aslı şu ki" }, { "time": 149.49720315830996, "text": "I never let you go, let you go", "meaning": "Seni hiç bırakmadım, bırakmayacağım" }, { "time": 162.0890489408722, "text": "You go down just like Holy Mary", "meaning": "Kutsal Meryem gibi alçalıyorsun" }, { "time": 166.10489897329714, "text": "Mary on a, Mary on a cross", "meaning": "Haçta, Haçta Meryem" }, { "time": 170.44928100190737, "text": "Not just another Bloody Mary", "meaning": "Sadece bir Kanlı Meryem değil bu" }, { "time": 174.04099817738344, "text": "Mary on a, Mary on a", "meaning": "Haçta, Haçta" }, { "time": 177.6415629923706, "text": "You go down just like Holy Mary", "meaning": "Kutsal Meryem gibi alçalıyorsun" }, { "time": 181.3693930553131, "text": "Mary on a, Mary on a cross", "meaning": "Haçta, Haçta Meryem" }, { "time": 185.3452700858307, "text": "Your beauty never ever scared me", "meaning": "Güzelliğin beni asla korkutmadı" }, { "time": 188.61747117547608, "text": "Mary on a, Mary on a cross", "meaning": "Haçta, Haçta Meryem" }, { "time": 193.47321893133545, "text": "If you choose to run away with me", "meaning": "Eğer benimle kaçmayı seçersen" }, { "time": 197.03342796948243, "text": "I will tickle you internally", "meaning": "Karnında kelebekler uçuşturacağım" }, { "time": 201.04141520027162, "text": "And I see nothing wrong with that", "meaning": "Ve bunda yanlış bir şey görmüyorum" }, { "time": 210.94575300953676, "text": "Mary on a, Mary on a cross", "meaning": "Haçta, Haçta Meryem" }, { "time": 214.37214103051758, "text": "Nothing wrong with that", "meaning": "Bunda yanlış bir şey yok" }, { "time": 218.31030181689454, "text": "(Mary on a, Mary on a cross)", "meaning": "(Haçta, Haçta Meryem)" }, { "time": 221.78006098664858, "text": "Nothing wrong with that", "meaning": "Bunda yanlış bir şey yok" }, { "time": 225.7246461602173, "text": "(Mary on a, Mary on a cross)", "meaning": "(Haçta, Haçta Meryem)" } ]; 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: 'aBt2Djy37tQ', // 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); } }