📜 Tümünü Göster 🔄 Otomatiğe Al var oynatici; var sozler=[ { "time": 0, "text": "Woah-oh-oh", "meaning": "Woah-oh-oh" }, { "time": 5.3, "text": "This is it, yeah", "meaning": "İşte bu, evet" }, { "time": 14.89094297329712, "text": "Woah-oh-oh", "meaning": "Woah-oh-oh" }, { "time": 18.018897135421753, "text": "Said I've paid my dues for all that I've done", "meaning": "Yaptığım her şeyin hesabını çoktan verdiğimi söylemiştim" }, { "time": 22.415366938964844, "text": "And I showed you that I loved you more than once", "meaning": "Bir kere de değil, defalarca seni sevdiğimi göstermiştim" }, { "time": 27.72412808392334, "text": "There's nothing left there to decide", "meaning": "Artık karar verilmesi gereken bir şey kalmadı" }, { "time": 31.3, "text": "Said you might trick me once", "meaning": "Beni bir kere kafalayabilirsin belki" }, { "time": 34.16411700190734, "text": "I won't let you trick me twice", "meaning": "Bir ikincisine izin vermicem" }, { "time": 36.692809013351436, "text": "Freedom to us has always been a trick", "meaning": "Bizim için özgürlük bir aldatmacadan ibaretti" }, { "time": 41.09357198283386, "text": "Freedom to you has always been who ever landed on your dick", "meaning": "Senin için özgürlük zaten hep cükünün keyfine göre oldu" }, { "time": 45.68881892752075, "text": "Seen it in you one too many times", "meaning": "Bunu sende defalarca gördüm" }, { "time": 49.271518876022334, "text": "Said you might trick me once", "meaning": "Beni bir kere kafalayabilirsin belki" }, { "time": 52.03386388365173, "text": "I won't let you trick me twice, no", "meaning": "Bir ikincisine izin vermicem, hayır" }, { "time": 54.66700498474121, "text": "Might trick me once", "meaning": "Bir kez kafalayabilirsin belki" }, { "time": 56.51872500762939, "text": "I won't let you trick me twice", "meaning": "Bir ikincisine izin vermicem" }, { "time": 59.13897299427795, "text": "Might trick me once", "meaning": "Olursa bir kere olur o" }, { "time": 61.03478508010864, "text": "I won't let you trick me twice, no", "meaning": "Bir ikincisi olmayacak, hayır" }, { "time": 63.605575969482416, "text": "Might trick me once", "meaning": "İlkinde kandırabilirsin" }, { "time": 65.46411504196166, "text": "I won't let you trick me twice", "meaning": "Bir ikincisinin olmasına izin vermeyeceğim" }, { "time": 69.7968570591278, "text": "No, I won't let you trick me twice", "meaning": "Hayır, ikinciye geçit yok" }, { "time": 72.41209183787537, "text": "Those days are old and overdone", "meaning": "O günler artık eskide kaldı" }, { "time": 76.25983001335143, "text": "And it's only 'cause I'm not with you which made me number one", "meaning": "Senden uzakta olmam yüzünden bir numara oldum işte" }, { "time": 81.58766191035461, "text": "Though I may love you", "meaning": "Hala seni seviyorumdur belki" }, { "time": 83.46574609155273, "text": "It hurts me deep inside, oh", "meaning": "Bu içimi derinden yaralasa da, ah" }, { "time": 86.01301412779236, "text": "Now you no longer have to hide", "meaning": "Artık saklanmana gerek yok" }, { "time": 90.12221502288818, "text": "I used to be down with the late night hit", "meaning": "Eskiden ben de o kafalardaydım" }, { "time": 92.40141782833862, "text": "Started gettin' heavy when I really wasn't ready", "meaning": "İşler ciddiye binince benlik olmadığımı fark ettim" }, { "time": 94.71708918501281, "text": "Used my past to get in my mind", "meaning": "Tam benlik olduğun izlenimini verdin" }, { "time": 96.7587560743866, "text": "So I fell for your lies like all the time", "meaning": "Bu yüzden yalanlarına kanıp durdum" }, { "time": 99.05560500572204, "text": "I thought you were the shit to be playin' around", "meaning": "Seni adam sanmışım" }, { "time": 101.36281919073485, "text": "Call the police, there's a mad girl in town", "meaning": "Birisi polisi çağırsın bu kadın delirdi artık" }, { "time": 103.65169795422364, "text": "Couldn't get even here without a sound", "meaning": "Ne yapsam içim soğumayacaktı" }, { "time": 105.81653103623962, "text": "It's not how I wanna get down, yeah", "meaning": "Ben böyle düşmek istemiyorum, anladın mı" }, { "time": 108.38542510299682, "text": "Might trick me once", "meaning": "Beni ilkinde kandırabilirsin belki" }, { "time": 110.18510302098083, "text": "I won't let you trick me twice", "meaning": "Bir ikincisi olmayacak ama" }, { "time": 112.75610122125244, "text": "Might trick me once", "meaning": "Bir kere olur o" }, { "time": 114.74715502479553, "text": "I won't let you trick me twice, no", "meaning": "Bir ikincisi olmayacak, hayır" }, { "time": 117.38403589891053, "text": "Might trick me once", "meaning": "Bir kere olur o" }, { "time": 119.24755915830994, "text": "I won't let you trick me twice", "meaning": "Ama bir daha yemem" }, { "time": 123.56908218501282, "text": "No, I won't let you trick me twice", "meaning": "Hayır, ikinciyi yemem" }, { "time": 128.12254705340578, "text": "No, I won't let you trick me twice", "meaning": "Hayır, ikincide düşmem" }, { "time": 130.0968519446869, "text": "Well, I've paid all my dues for all that I've done", "meaning": "Yaptığım her şeyin hesabını çoktan verdiğimi söylemiştim" }, { "time": 134.49967295613098, "text": "And I showed you that I loved you more than once", "meaning": "Bir kere de değil, defalarca seni sevdiğimi göstermiştim" }, { "time": 139.78532600572206, "text": "There's nothing left there to decide", "meaning": "Artık karar verilmesi gereken bir şey kalmadı" }, { "time": 143.96829903242494, "text": "Ah, trick me, I won't let your trick me twice", "meaning": "Hadi kandırsana beni, ama bir daha yemezler " }, { "time": 148.75175005340577, "text": "You might trick me once", "meaning": "Bir kereliğine kandırabilirsin beni" }, { "time": 150.63985997138977, "text": "I won't let you trick me twice", "meaning": "İkinci defasına izin vermem" }, { "time": 153.2514689370575, "text": "You might trick me once", "meaning": "Bir kereliğine kandırabilirsin beni" }, { "time": 154.94044107629395, "text": "No, I won't let me trick you twice, no", "meaning": "Hayır, beni bir daha kandırmana alet olmayacağım, hayır" }, { "time": 157.7024288970032, "text": "You might trick me once", "meaning": "İlkinde kandırabilirsin" }, { "time": 159.39771293705752, "text": "No, I won't let me trick you twice", "meaning": "Hayır, kendimi bir daha kandırtmayacağım" }, { "time": 162.75324912588502, "text": "Woah-oh-oh", "meaning": "Woah-oh-oh" }, { "time": 165.4, "text": "Peace", "meaning": "Barış" }, { "time": 167.2048990190735, "text": "Woah-oh-oh", "meaning": "Woah-oh-oh" } ]; 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: 'zI339U6GS9s', // 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); } }