📜 Tümünü Göster 🔄 Otomatiğe Al var oynatici; var sozler=[ { "time": 26.29994699046326, "text": "It doesn’t hurt me (yeah, yeah, yo)", "meaning": "Canımı acıtmıyor" }, { "time": 29.55574793133545, "text": "Do you wanna feel how it feels? (Yeah, yeah, yo)", "meaning": "Nasıl hissettiğimi bilmek ister misin?" }, { "time": 33.84320899427795, "text": "Do you wanna know, know that it doesn’t hurt me? (Yeah, yeah, yo)", "meaning": "Bilmek ister misin, canımı acıtmadığını?" }, { "time": 38.39611419836425, "text": "Do you wanna hear about the deal that I’m making? (Yeah, yeah, yo)", "meaning": "Yaptığım anlaşmayı duymak ister misin?" }, { "time": 42.88146887030029, "text": "You", "meaning": "Sen" }, { "time": 47.28953407629394, "text": "It’s you and me", "meaning": "Sen ve ben" }, { "time": 51.025194971389766, "text": "And if I only could", "meaning": "Eğer yapabilseydim" }, { "time": 53.05735503623962, "text": "I’d make a deal with God", "meaning": "Tanrıyla bir anlaşma yapardım" }, { "time": 55.15275213542175, "text": "And I’d get Him to swap our places", "meaning": "Onunla yerlerimizi değiştirirdim" }, { "time": 58.761475032424926, "text": "Be runnin’ up that road", "meaning": "O yolu koşardım" }, { "time": 60.91296613542175, "text": "Be runnin’ up that hill", "meaning": "O tepeyi aşardım" }, { "time": 63.15353296757507, "text": "Be runnin’ up that building", "meaning": "O binaya varırdım" }, { "time": 67.60969786648559, "text": "Say, if I only could, oh", "meaning": "Yapabildiğimi varsay" }, { "time": 83.68878505340575, "text": "You don’t wanna hurt me (yeah, yeah, yo)", "meaning": "Beni incitmek istemezsin" }, { "time": 87.14434708201598, "text": "But see how deep the bullet lies (yeah, yeah, yo)", "meaning": "Ama kurşunun ne kadar derinde olduğunu bi gör" }, { "time": 91.55263004959106, "text": "Unaware I’m tearin’ you asunder (yeah, yeah, yo)", "meaning": "Farkında olmadan beni parçalıyorsun" }, { "time": 96.00788101144408, "text": "Oh, there is thunder in our hearts (yeah, yeah, yo)", "meaning": "Kalplerimizde gök gürültüsü var" }, { "time": 100.45711894087219, "text": "Is there so much hate for the ones we love? (Yeah, yeah, yo)", "meaning": "Sevdiklerimizden bu kadar mı nefret ediyoruz?" }, { "time": 104.91258015068054, "text": "Oh, tell me, we both matter, don’t we? (Yeah, yeah, yo)", "meaning": "Söyle bana, ikimiz de önemliyiz, değil mi?" }, { "time": 109.34259989700317, "text": "You", "meaning": "Sen" }, { "time": 113.72959805722046, "text": "It’s you and me", "meaning": "Sen ve ben" }, { "time": 120.20450097138976, "text": "Won’t be unhappy", "meaning": "Mutlu olmayız" }, { "time": 122.17989687602234, "text": "And if I only could", "meaning": "Eğer yapabilseydim" }, { "time": 124.09968202479553, "text": "I’d make a deal with God", "meaning": "Tanrıyla bir anlaşma yapardım" }, { "time": 126.15604292370605, "text": "And I’d get Him to swap our places", "meaning": "Onunla yerlerimizi değiştirirdim" }, { "time": 129.73148192179872, "text": "Be runnin’ up that road", "meaning": "O yolu koşardım" }, { "time": 131.9156259141693, "text": "Be runnin’ up that hill", "meaning": "O tepeyi aşardım" }, { "time": 134.11588510490418, "text": "Be runnin’ up that building (yo)", "meaning": "O binaya varırdım" }, { "time": 138.6120398931885, "text": "Say, if I only could, oh", "meaning": "Yapabildiğimi varsay" }, { "time": 156.05177592752077, "text": "You (yeah, yeah, yo)", "meaning": "Sen" }, { "time": 160.38837486839296, "text": "It’s you and me", "meaning": "Sen ve ben" }, { "time": 166.73213604768372, "text": "Won’t be unhappy (yeah, yeah, yo)", "meaning": "Mutlu olmayız" }, { "time": 169.29211997520449, "text": "Oh, come on, baby (yeah)", "meaning": "Hadi bebeğim" }, { "time": 171.2365478264313, "text": "Oh, come on, darlin’ (yo)", "meaning": "Hadi ama canım" }, { "time": 173.5795849961853, "text": "Let me steal this moment from you now", "meaning": "Bu anı şimdi senden çalmama izin ver" }, { "time": 178.16358291607668, "text": "Oh, come on, angel", "meaning": "Hadi meleğim" }, { "time": 179.80817505149844, "text": "Come on, come on, darlin’", "meaning": "Ama hadi artık canım" }, { "time": 182.39293082452394, "text": "Let’s exchange the experience (yo), oh, ooh, ooh", "meaning": "Deneyimlerimizi değişelim" }, { "time": 203.19327612779236, "text": "And if I only could", "meaning": "Eğer yapabilseydim" }, { "time": 205.02491706103515, "text": "I’d make a deal with God", "meaning": "Tanrıyla bir anlaşma yapardım" }, { "time": 207.2971590419617, "text": "And I’d get Him to swap our places", "meaning": "Onunla yerlerimizi değiştirirdim" }, { "time": 211.80106689128115, "text": "Be runnin’ up that road", "meaning": "O yolu koşardım" }, { "time": 213.9123081792908, "text": "Be runnin’ up that hill", "meaning": "O tepeyi aşardım" }, { "time": 216.92075204005434, "text": "With no problems", "meaning": "Sorunsuz bir şekilde" }, { "time": 220.63322286076357, "text": "Say, if I only could, oh", "meaning": "Yapabildiğimi varsay" }, { "time": 222.71324900000002, "text": "I’d make a deal with God", "meaning": "Tanrıyla bir anlaşma yapardım" }, { "time": 224.8008039637604, "text": "And I’d get Him to swap our places", "meaning": "Onunla yerlerimizi değiştirirdim" }, { "time": 229.60028594277955, "text": "Be runnin’ up that road", "meaning": "O yolu koşardım" }, { "time": 231.72257404196168, "text": "Be runnin’ up that hill", "meaning": "O tepeyi aşardım" }, { "time": 234.6664471602173, "text": "With no problems", "meaning": "Sorunsuz bir şekilde" }, { "time": 238.3384699485016, "text": "Say, if I only could, oh", "meaning": "Yapabildiğimi varsay" }, { "time": 240.57830903814698, "text": "I’d make a deal with God", "meaning": "Tanrıyla bir anlaşma yapardım" }, { "time": 243.0101420705719, "text": "And I’d get Him to swap our places", "meaning": "Onunla yerlerimizi değiştirirdim" }, { "time": 247.21813595040894, "text": "Be runnin’ up that road", "meaning": "O yolu koşardım" }, { "time": 249.3418997997284, "text": "Be runnin’ up that hill", "meaning": "O tepeyi aşardım" }, { "time": 251.9459869828339, "text": "With no problems", "meaning": "Sorunsuz bir şekilde" }, { "time": 256.09844206675723, "text": "Say, if I only could, oh", "meaning": "Yapabildiğimi varsay" }, { "time": 260.5381939446869, "text": "I’d be runnin’ up that hill", "meaning": "O tepeyi aşardım" }, { "time": 265.64936800190736, "text": "With no problems", "meaning": "Sorunsuz bir şekilde" } ]; 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: 'wp43OdtAAkM', // 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); } }