📜 Tümünü Göster 🔄 Otomatiğe Al var oynatici; var sozler=[ { "time": 21.361310043869018, "text": "Deep in my heart, there’s a fire, a burnin’ heart", "meaning": "Kalbimin derinliklerinde, yanıp tutuşan bir alev var" }, { "time": 29.801634935150147, "text": "Deep in my heart, there’s desire for a start", "meaning": "Kalbimin derinliklerinde, bir arzu uyanıyor" }, { "time": 37.60976914114379, "text": "I’m dying in emotion", "meaning": "Yoğun duygular içindeyim" }, { "time": 41.3130591296997, "text": "It’s my world in fantasy", "meaning": "Bu benim hayal dünyam" }, { "time": 45.79384577493286, "text": "I’m livin’ in my, livin’ in my dreams", "meaning": "Hayallerimde, hayallerimde yaşıyorum" }, { "time": 53.185452101089474, "text": "You’re my heart, you’re my soul", "meaning": "Kalbimsin, ruhumsun sen benim" }, { "time": 57.36982421934509, "text": "I keep it shining everywhere I go", "meaning": "Nereye gidersem gideyim onu parlatacağım" }, { "time": 61.48971689891052, "text": "You’re my heart, you’re my soul", "meaning": "Kalbimsin, ruhumsun sen benim" }, { "time": 65.62557498283385, "text": "I’ll be holding you forever", "meaning": "Seni sonsuza dek tutacağım" }, { "time": 68.10639603242493, "text": "Stay with you together", "meaning": "Seninle kalacağım" }, { "time": 71.73757090081787, "text": "You’re my heart, you’re my soul", "meaning": "Kalbimsin, ruhumsun sen benim" }, { "time": 75.81687995040893, "text": "Yeah, a feelin’ that our love will grow", "meaning": "Evet, aşkımızın büyüyeceğini hissediyorum" }, { "time": 79.90550214495849, "text": "You’re my heart, you’re my soul", "meaning": "Kalbimsin, ruhumsun sen benim" }, { "time": 83.9853661411438, "text": "That is the only thing I really know", "meaning": "Gerçekten bildiğim tek şey bu" }, { "time": 99.02377997711181, "text": "Let’s close the door and believe my burnin’ heart", "meaning": "Hadi kapıyı kapatalım ve yanan kalbime inan" }, { "time": 107.19217615830993, "text": "Feeling all right come on, open up your heart", "meaning": "İyi hissediyorum hadi, aç kalbini" }, { "time": 115.33584614114379, "text": "I’ll keep the candles burning", "meaning": "Mumları yanık tutacağım" }, { "time": 118.96077098855591, "text": "Let your body melt in mine", "meaning": "Bırak vücudun benimkinde erisin" }, { "time": 123.48809211444092, "text": "I’m livin’ in my, livin’ in my dreams", "meaning": "Hayallerimde, hayallerimde yaşıyorum" }, { "time": 131.01677384931946, "text": "You’re my heart, you’re my soul", "meaning": "Kalbimsin, ruhumsun sen benim" }, { "time": 135.01696687220766, "text": "I keep it shining everywhere I go", "meaning": "Nereye gidersem gideyim onu parlatacağım" }, { "time": 139.16041096757507, "text": "You’re my heart, you’re my soul", "meaning": "Kalbimsin, ruhumsun sen benim" }, { "time": 143.281425164032, "text": "I’ll be holding you forever", "meaning": "Seni sonsuza dek tutacağım" }, { "time": 145.84008196948244, "text": "Stay with you together", "meaning": "Seninle kalacağım" }, { "time": 149.42417886648562, "text": "You’re my heart, you’re my soul", "meaning": "Kalbimsin, ruhumsun sen benim" }, { "time": 153.47325291416934, "text": "Yeah, a feelin’ that our love will grow", "meaning": "Evet, aşkımızın büyüyeceğini hissediyorum" }, { "time": 157.58452604768374, "text": "You’re my heart, you’re my soul", "meaning": "Kalbimsin, ruhumsun sen benim" }, { "time": 161.68992608773806, "text": "That is the only thing I really know", "meaning": "Gerçekten bildiğim tek şey bu" }, { "time": 165.80228697329713, "text": "You’re my heart, you’re my soul", "meaning": "Kalbimsin, ruhumsun sen benim" }, { "time": 169.8408251125336, "text": "Yeah, a feelin’ that our love will grow", "meaning": "Evet, aşkımızın büyüyeceğini hissediyorum" }, { "time": 173.89658708773806, "text": "You’re my heart, you’re my soul", "meaning": "Kalbimsin, ruhumsun sen benim" }, { "time": 178.04054019264223, "text": "That is the only thing I really know", "meaning": "Gerçekten bildiğim tek şey bu" }, { "time": 182.17709910108948, "text": "You’re my heart, you’re my soul", "meaning": "Kalbimsin, ruhumsun sen benim" }, { "time": 186.2005729599457, "text": "Yeah, a feelin’ that our love will grow", "meaning": "Evet, aşkımızın büyüyeceğini hissediyorum" } ]; 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: '4kHl4FoK1Ys', // 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); } }