📜 Tümünü Göster 🔄 Otomatiğe Al var oynatici; var sozler=[ { "time": 8.760099226974488, "text": "Come on, hold my hand", "meaning": "Hadi, tut elimi" }, { "time": 12.744735101089478, "text": "I wanna contact the living", "meaning": "Yaşamla bağ kurmak istiyorum" }, { "time": 18.215044135421753, "text": "Not sure I understand", "meaning": "Anladığımdan emin değilim" }, { "time": 23.33461700572205, "text": "This role I’ve been given", "meaning": "Bana verilen bu rolü" }, { "time": 28.279806883651734, "text": "I sit and talk to God", "meaning": "Oturup Tanrı ile konuşuyorum" }, { "time": 32.46306289891052, "text": "And he just laughs at my plans", "meaning": "O ise planlarıma gülüp geçiyor" }, { "time": 37.77586698283386, "text": "My head speaks a language", "meaning": "Kafam bir dil konuşuyor" }, { "time": 42.775368030517576, "text": "I don’t understand", "meaning": "Anlamadığım" }, { "time": 47.87918316975403, "text": "I just wanna feel real love", "meaning": "Sadece gerçek aşkı hissedip" }, { "time": 52.135038211715695, "text": "Feel the home that I live in", "meaning": "Yaşadığım yuvaya dolsun istiyorum" }, { "time": 57.67158477302551, "text": "‘Cause I got too much life", "meaning": "Çünkü hayatımın çoğu" }, { "time": 60.16827606103515, "text": "Running through my veins", "meaning": "Damarlarımdan dolaşıp" }, { "time": 62.584748929428095, "text": "Going to waste", "meaning": "Boşa akıyor" }, { "time": 67.48777411444091, "text": "I don’t wanna die", "meaning": "Ölmek istemiyorum" }, { "time": 71.5673208626709, "text": "But I ain’t keen on living either", "meaning": "Ama yaşamaya da pek hevesli değilim" }, { "time": 77.17546803051758, "text": "Before I fall in love", "meaning": "Aşık olmadan önce" }, { "time": 81.60796602288818, "text": "I’m preparing to leave her", "meaning": "Onu terk etmeye hazırlanıyorum" }, { "time": 86.97616497520447, "text": "I scare myself to death", "meaning": "Kendimi ölümüne korkutuyorum" }, { "time": 91.63092695422363, "text": "That’s why I keep on running", "meaning": "Bu yüzden durmadan kaçıyorum" }, { "time": 96.71185209155273, "text": "Before I’ve arrived", "meaning": "Varamadan önce" }, { "time": 101.23214090463256, "text": "I can see myself coming", "meaning": "Kaçışımı görebiliyorum" }, { "time": 106.62450397329711, "text": "I just wanna feel real love", "meaning": "Sadece gerçek aşkı hissedip" }, { "time": 110.92573692752075, "text": "Feel the home that I live in", "meaning": "Yaşadığım yuvayı doldursun istiyorum" }, { "time": 116.34215999809265, "text": "‘Cause I got too much life", "meaning": "Çünkü hayatımın çoğu" }, { "time": 118.91007187602234, "text": "Running through my veins", "meaning": "Damarlarımdan dolaşıp" }, { "time": 121.37408995422363, "text": "Going to waste", "meaning": "Boşa akıyor" }, { "time": 126.12587298283385, "text": "And I need to feel", "meaning": "Ve hissetmem gerek" }, { "time": 129.08621116212464, "text": "Real love and the love ever after", "meaning": "Gerçek ve sonsuz aşkı" }, { "time": 135.92646602098085, "text": "I cannot get enough", "meaning": "Doyamıyorum" }, { "time": 165.52630689509584, "text": "I just wanna feel real love", "meaning": "Sadece gerçek aşkı hissedip" }, { "time": 169.6870860743866, "text": "Feel the home that I live in", "meaning": "Yaşadığım yuvayı doldursun istiyorum" }, { "time": 175.16557818119813, "text": "‘Cause I got too much life", "meaning": "Çünkü hayatımın çoğu" }, { "time": 177.72634502861024, "text": "Running through my veins", "meaning": "Damarlarımdan dolaşıp" }, { "time": 180.05400800190736, "text": "Going to waste", "meaning": "Boşa akıyor" }, { "time": 184.99766515068055, "text": "I just wanna feel real love", "meaning": "Gerçek aşkı hissedip" }, { "time": 189.4301259141693, "text": "And life ever after", "meaning": "Sonsuza kadar yaşamak istiyorum" }, { "time": 194.4305099523163, "text": "There’s a hole in my soul", "meaning": "Ruhumda bir boşluk var" }, { "time": 196.74166406103518, "text": "You can see it in my face", "meaning": "Bunu yüzümde görebilirsin" }, { "time": 199.1345769256134, "text": "It’s a real big place", "meaning": "Gerçekten de çok derin" }, { "time": 214.4700430343323, "text": "Come and hold my hand", "meaning": "Gel de tut elimi" }, { "time": 218.52027492561342, "text": "I wanna contact the living", "meaning": "Yaşamla bağ kurmak istiyorum" }, { "time": 223.96645199809265, "text": "Not sure I understand", "meaning": "Anladığımdan emin değilim" }, { "time": 228.8459138188019, "text": "This role I’ve been given", "meaning": "Bana verilen bu rolü" }, { "time": 233.7588640457764, "text": "Not sure I understand", "meaning": "Anladığımdan emin değilim" } ]; 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: 'iy4mXZN1Zzk', // 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); } }