📜 Tümünü Göster 🔄 Otomatiğe Al var oynatici; var sozler=[ { "time": 0, "text": "Dear, love is a burning fire", "meaning": "Sevgilim, aşk yanan bir ateş" }, { "time": 23.933129877929687, "text": "Stay, ’cause then the flames grows higher", "meaning": "Kal, çünkü alevler yükselecek daha da" }, { "time": 28.348284013351442, "text": "Babe, don’t let him steal your heart", "meaning": "Bebeğim, kalbini çalmasına izin verme" }, { "time": 32.61271809536743, "text": "It’s easy, easy", "meaning": "Kolay, kolay" }, { "time": 37.24422813160705, "text": "Girl, this game can’t last forever", "meaning": "Kızım, bu oyun sonsuza dek süremez" }, { "time": 41.50876409918212, "text": "Why? We cannot live together", "meaning": "Neden mi? Birlikte yaşayamayız" }, { "time": 45.82826184169006, "text": "Try? Don’t let him take your love from me", "meaning": "Denemek mi? Aşkını benden almasına izin verme" }, { "time": 54.28401005149841, "text": "You’re no good, can’t you see?", "meaning": "İyi değilsin sen, anlayamıyor musun?" }, { "time": 56.340160116348265, "text": "Brother Louie, Louie, Louie", "meaning": "Louie, Louie, Louie kardeş" }, { "time": 58.708694979019164, "text": "I’m in love, set you free", "meaning": "Aşığım, kalbine pranga vuramam" }, { "time": 60.78086514877319, "text": "Oh, she’s only looking to me", "meaning": "Ah, o yalnızca bana bakıyor" }, { "time": 63.09279292370605, "text": "Only love breaks her heart", "meaning": "Sadece aşk kırar onun kalbini" }, { "time": 65.24441905912781, "text": "Brother Louie, Louie, Louie", "meaning": "Louie, Louie, Louie kardeş" }, { "time": 67.51675092370606, "text": "Only love’s paradise", "meaning": "Sadece aşk cennettir" }, { "time": 69.62062611825561, "text": "Oh, she’s only looking to me", "meaning": "Ah, o yalnızca bana bakıyor" }, { "time": 71.9406309256134, "text": "Brother Louie, Louie, Louie", "meaning": "Louie, Louie, Louie kardeş" }, { "time": 73.80486893515014, "text": "Oh, she’s only looking to me", "meaning": "Ah, o yalnızca bana bakıyor" }, { "time": 76.32230784359741, "text": "Oh, let it Louie", "meaning": "Ah, bıraksana Louie" }, { "time": 78.46604196757507, "text": "She is undercover", "meaning": "Kendinizi gizliyor" }, { "time": 80.67041397329712, "text": "Brother Louie, Louie, Louie", "meaning": "Louie, Louie, Louie kardeş" }, { "time": 82.67152686839295, "text": "Oh, doing what he’s doing", "meaning": "Ah, yine bildiğini okuyor" }, { "time": 85.06264308392333, "text": "So leave it Louie", "meaning": "Sal gitsin Louie" }, { "time": 87.28775209155273, "text": "‘Cause I’m a lover", "meaning": "Zira ben bir aşığım" }, { "time": 107.53398203433227, "text": "Stay, ’cause this boy wants to gamble", "meaning": "Kal, çünkü bu çocuk her şeyi göze alıyor" }, { "time": 111.99025502861022, "text": "Stay, love’s more than he can handle, girl", "meaning": "Kal, aşk onun boyunu aşıyor, güzelim" }, { "time": 117.91104293705749, "text": "Oh, come and stay by me forever, ever", "meaning": "Ah, gel ve sonsuza dek yanımda kal" }, { "time": 125.16617390844726, "text": "Why does he go on pretending?", "meaning": "Neden rol yapmaya devam ediyor?" }, { "time": 129.59040790844728, "text": "That his love is never-ending, babe", "meaning": "Onun sevgisi hiç bitmez, bebeğim" }, { "time": 135.4549511335144, "text": "Don’t let him steal your love from me", "meaning": "Aşkını benden çalmasına izin verme" }, { "time": 142.27051507057192, "text": "You’re no good, can’t you see?", "meaning": "İyi değilsin sen, anlayamıyor musun?" }, { "time": 144.42229313351442, "text": "Brother Louie, Louie, Louie", "meaning": "Louie, Louie, Louie kardeş" }, { "time": 146.70297104005434, "text": "I’m in love, set you free", "meaning": "Aşığım, kalbine pranga vuramam" }, { "time": 148.8549719675751, "text": "Oh, she’s only looking to me", "meaning": "Ah, o yalnızca bana bakıyor" }, { "time": 151.1666990743866, "text": "Only love breaks her heart", "meaning": "Sadece aşk kırar onun kalbini" }, { "time": 153.30301589700318, "text": "Brother Louie, Louie, Louie", "meaning": "Louie, Louie, Louie kardeş" }, { "time": 155.56680095994568, "text": "Only love’s paradise", "meaning": "Sadece aşk cennettir" }, { "time": 157.69437000000002, "text": "Oh, she’s only looking to me", "meaning": "Ah, o yalnızca bana bakıyor" }, { "time": 159.85463582452394, "text": "Brother Louie, Louie, Louie", "meaning": "Louie, Louie, Louie kardeş" }, { "time": 161.84647092752076, "text": "Oh, she’s only looking to me", "meaning": "Ah, o yalnızca bana bakıyor" }, { "time": 164.12638707247925, "text": "Oh, let it Louie", "meaning": "Ah, bıraksana Louie" }, { "time": 166.4788910152588, "text": "She is undercover", "meaning": "O gizli" }, { "time": 168.67842416593933, "text": "Brother Louie, Louie, Louie", "meaning": "Louie, Louie, Louie kardeş" }, { "time": 170.6710229370575, "text": "Oh, doing what he’s doing", "meaning": "Ah, yine bildiğini okuyor" }, { "time": 173.07816580163575, "text": "So leave it Louie", "meaning": "Sal gitsin Louie" }, { "time": 175.32679612016298, "text": "‘Cause I’m a lover", "meaning": "Zira ben bir aşığım" }, { "time": 195.12659699427797, "text": "Brother Louie, Louie, Louie", "meaning": "Louie, Louie, Louie kardeş" }, { "time": 197.02521213542175, "text": "Oh, she’s only looking to me", "meaning": "Ah, o yalnızca bana bakıyor" }, { "time": 199.52112307057192, "text": "Oh, let it Louie…", "meaning": "Ah, bıraksana Louie…" }, { "time": 201.4, "text": "She is undercover", "meaning": "O gizli" }, { "time": 203.88030199809268, "text": "Brother Louie, Louie, Louie", "meaning": "Louie, Louie, Louie kardeş" }, { "time": 205.82264905340577, "text": "Oh, doing what he’s doing", "meaning": "Ah, yine bildiğini okuyor" }, { "time": 208, "text": "So leave it Louie", "meaning": "Sal gitsin Louie" }, { "time": 210.2, "text": "‘Cause I’m a lover", "meaning": "Zira ben bir aşığım" } ]; 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: 'Lp2qcCrdBLA', // 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); } }