📜 Tümünü Göster 🔄 Otomatiğe Al var oynatici; var sozler=[ { "time": 14.115039990463258, "text": "I used to rule the world", "meaning": "Dünyayı yönetiyordum" }, { "time": 18.010534980926515, "text": "Seas would rise when I gave the word", "meaning": "Bir lafımla denizleri kabartırdım" }, { "time": 20.62713799809265, "text": "Now in the morning, I sleep alone", "meaning": "Şimdi ise sabahları yalnız uyuyorum" }, { "time": 24.84266508583069, "text": "Sweep the streets I used to own", "meaning": "Sahip olduğum sokakları süpürüyorum" }, { "time": 41.72163116784668, "text": "I used to roll the dice", "meaning": "Zarları atardım" }, { "time": 45.634455108718875, "text": "Feel the fear in my enemy’s eyes", "meaning": "Düşmanlarımın gözlerindeki korkuyu hissederdim" }, { "time": 48.82982217929077, "text": "Listen as the crowd would sing", "meaning": "Kalabalığın şarkı söyleyişini dinlerdim" }, { "time": 52.92961114495849, "text": "Now the old king is dead, long live the king", "meaning": "Eski kral öldü, yaşasın yeni kral" }, { "time": 55.809565036239626, "text": "One minute, I held the key", "meaning": "Bir dakikalığına, anahtarı tuttum" }, { "time": 59.68244094277954, "text": "Next the walls were closed on me", "meaning": "Derken tüm kapılar bana kapandı" }, { "time": 62.41779894659424, "text": "And I discovered that my castles stand", "meaning": "Ve keşfettim ki kalelerim" }, { "time": 66.68142387220765, "text": "Upon pillars of salt and pillars of sand", "meaning": "Tuz sütunları ve kum sütunları üzerinde duruyormuş" }, { "time": 70.43418489318847, "text": "I hear Jerusalem bells a-ringin’", "meaning": "Kudüs’ün çanlarını duyuyorum" }, { "time": 74.20249178065491, "text": "Roman Cavalry choirs are singin’", "meaning": "Roma süvarileri şarkı söylüyor" }, { "time": 77.5381560705719, "text": "Be my mirror, my sword and shield", "meaning": "Aynam, kılıcım ve kalkanım ol" }, { "time": 81.08171905340576, "text": "My missionaries in a foreign field", "meaning": "Misyonerlerim yabancı yerlerde" }, { "time": 84.53004089700318, "text": "For some reason, I can’t explain", "meaning": "Nedense açıklayamıyorum" }, { "time": 87.97005309155273, "text": "Once you’d gone, there was never, never an honest word", "meaning": "Sen gittikten sonra doğru bir söz hiç ama hiç söylenmedi" }, { "time": 94.40217001907348, "text": "And that was when I ruled the world", "meaning": "Ve o, dünyaya hükmettiğim zamanlardı" }, { "time": 111.25858820408631, "text": "It was a wicked and wild wind", "meaning": "Kötü ve vahşi bir rüzgar" }, { "time": 115.22630710681152, "text": "Blew down the doors to let me in", "meaning": "Kapıları uçurdu, içeri aldı beni" }, { "time": 118.08251803814697, "text": "Shattered windows and the sound of drums", "meaning": "Cam kırıkları, davulların sesi" }, { "time": 122.44251798092651, "text": "People couldn’t believe what I’d become", "meaning": "İnsanlar, neye dönüştüğüme inanamadı" }, { "time": 125.49058110490418, "text": "Revolutionaries wait", "meaning": "Devrimciler bekliyor" }, { "time": 129.38644001144408, "text": "For my head on a silver plate", "meaning": "Kellemi gümüş bir tabakta görmek için" }, { "time": 131.9710459408722, "text": "Just a puppet on a lonely string", "meaning": "Yapayalnız ince bir ipteki kukla gibi" }, { "time": 136.2421099809265, "text": "Oh, who would ever want to be king?", "meaning": "Ah, kim kral olmak ister ki?" }, { "time": 140.22651094850158, "text": "I hear Jerusalem bells a-ringin’", "meaning": "Kudüs’ün çanlarını duyuyorum" }, { "time": 143.65844896566773, "text": "Roman Cavalry choirs are singin’", "meaning": "Roma süvarileri şarkı söylüyor" }, { "time": 147.19450608392333, "text": "Be my mirror, my sword and shield", "meaning": "Aynam, kılıcım ve kalkanım ol" }, { "time": 150.61808316021728, "text": "My missionaries in a foreign field", "meaning": "Misyonerlerim yabancı yerlerde" }, { "time": 154.02646909155274, "text": "For some reason, I can’t explain", "meaning": "Nedense açıklayamıyorum" }, { "time": 157.4896220076294, "text": "I know Saint Peter won’t call my name", "meaning": "Aziz Peter adımı anmayacak biliyorum" }, { "time": 160.64159509536742, "text": "Never an honest word", "meaning": "Dürüst bir laf hiç yoktu" }, { "time": 164.05044990272523, "text": "But that was when I ruled the world", "meaning": "Ama bu ben dünyayı yönettiğim zamanlardı" }, { "time": 195.87384583978272, "text": "I hear Jerusalem bells a-ringin’", "meaning": "Kudüs’ün çanlarını duyuyorum" }, { "time": 199.41744705340577, "text": "Roman Cavalry choirs are singin’", "meaning": "Roma süvarileri şarkı söylüyor" }, { "time": 202.80129917166138, "text": "Be my mirror, my sword and shield", "meaning": "Aynam, kılıcım ve kalkanım ol" }, { "time": 206.12183000190734, "text": "My missionaries in a foreign field", "meaning": "Misyonerlerim yabancı yerlerde" }, { "time": 209.67336203051758, "text": "For some reason, I can’t explain", "meaning": "Nedense açıklayamıyorum" }, { "time": 213.0900380553131, "text": "I know Saint Peter won’t call my name", "meaning": "Aziz Peter adımı anmayacak biliyorum" }, { "time": 216.44838204959106, "text": "Never an honest word", "meaning": "Dürüst bir laf hiç yoktu" }, { "time": 219.53935984359742, "text": "But that was when I ruled the world", "meaning": "Ama bu ben dünyayı yönettiğim zamanlardı" } ]; 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: 'dvgZkm1xWPE', // 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); } }