📜 Tümünü Göster 🔄 Otomatiğe Al var oynatici; var sozler=[ { "time": 52.47450496757507, "text": "On a dark desert highway", "meaning": "Karanlık bir çöl otobanında" }, { "time": 55.93868593705749, "text": "Cool wind in my hair", "meaning": "Saçlarımda serin bir rüzgar" }, { "time": 59.18629883596802, "text": "Warm smell of colitas", "meaning": "Colitanın sıcak kokusu" }, { "time": 62.07484589509582, "text": "Rising up through the air", "meaning": "Yükseliyor havaya" }, { "time": 65.74677606484985, "text": "Up ahead in the distance", "meaning": "Biraz uzakta, ileride" }, { "time": 68.87383811062622, "text": "I saw a shimmering light", "meaning": "Parıldayan bir ışık gördüm" }, { "time": 72, "text": "My head grew heavy and my sight grew dim", "meaning": "Ağırlaştı başım ve bulanıklaştı görüşüm" }, { "time": 75.14080997901917, "text": "I had to stop for the night", "meaning": "Geceyi geçirmek için durayım dedim" }, { "time": 78.68432495040894, "text": "There she stood in the doorway", "meaning": "Kapının önünde duruyordu" }, { "time": 81.91620282833863, "text": "I heard the mission bell", "meaning": "Resepsiyon zilini duydum" }, { "time": 85.65221294468688, "text": "And I was thinking to myself", "meaning": "Ve kendi kendime düşünüp durdum" }, { "time": 87.55955203242492, "text": "“This could be Heaven or this could be Hell”", "meaning": "“Burası Cennet de olabilir Cehennem de”" }, { "time": 91.82360387602233, "text": "Then she lit up a candle", "meaning": "Sonra bir mum yaktı" }, { "time": 94.99183312016297, "text": "And she showed me the way", "meaning": "Ve bana yolu gösterdi" }, { "time": 98.24821287602234, "text": "There were voices down the corridor", "meaning": "Koridordan sesler geliyordu" }, { "time": 101.48756681498718, "text": "I thought I heard them say", "meaning": "Sanırım şöyle dediklerini duydum" }, { "time": 104.80878295040893, "text": "Welcome to the Hotel California", "meaning": "Hotel California’ya Hoş Geldiniz" }, { "time": 110.52819095803832, "text": "Such a lovely place (such a lovely place)", "meaning": "Ne güzel bir yer (ne güzel bir yer)" }, { "time": 113.78433396185302, "text": "Such a lovely face", "meaning": "Ne güzel bir yüz" }, { "time": 117.50515618882751, "text": "Plenty of room at the Hotel California", "meaning": "Kaliforniya Oteli’nde pek çok oda var" }, { "time": 123.52994909346008, "text": "Any time of year (any time of year)", "meaning": "Yılın herhangi bir zamanı (yılın herhangi bir zamanı)" }, { "time": 126.78557002670289, "text": "You can find it here", "meaning": "Burada kalabilirsiniz" }, { "time": 130.85011688746644, "text": "Her mind is Tiffany-twisted", "meaning": "Aklında Tiffany marka mücevherlerle" }, { "time": 133.92183995803833, "text": "She got the Mercedes Benz", "meaning": "Mercedes gibi kıvrımları vardı" }, { "time": 137.28206287602234, "text": "She got a lot of pretty, pretty boys", "meaning": "Bir sürü yakışıklı mı yakışıklı erkek vardı" }, { "time": 140.7686828893738, "text": "That she calls friends", "meaning": "Arkadaşım dediği" }, { "time": 144.10613004386903, "text": "How they dance in the courtyard", "meaning": "Avluda nasıl da dans ediyorlar" }, { "time": 146.746388792099, "text": "Sweet summer sweat", "meaning": "Tatlı yaz teri içinde" }, { "time": 150.37831409536744, "text": "Some dance to remember", "meaning": "Bazı danslar hatırlamak için" }, { "time": 153.67401019454957, "text": "Some dance to forget", "meaning": "Bazıları da unutmak için" }, { "time": 156.96993499427796, "text": "So I called up the Captain", "meaning": "Neyse kaptanı çağırdım" }, { "time": 160.18527184931946, "text": "“Please bring me my wine”", "meaning": "“Lütfen şarabımı getirin bana”" }, { "time": 162.36178387602234, "text": "He said, “We haven’t had that spirit here", "meaning": "Dedi ki, “Burada ondan yok" }, { "time": 166.05842310299684, "text": "Since 1969″", "meaning": "1969’dan beri”" }, { "time": 170.03442790272524, "text": "And still those voices are calling from far away", "meaning": "Yine o sesler çağırıyor çok uzaklardan" }, { "time": 176.55432493133546, "text": "Wake you up in the middle of the night", "meaning": "Gecenin bir yarısı seni uyandırıp" }, { "time": 179.6895061125336, "text": "Just to hear them say", "meaning": "Şöyle dediklerini duyarsın sadece" }, { "time": 183.05697083406068, "text": "Welcome to the Hotel California", "meaning": "Hotel California’ya Hoş Geldiniz" }, { "time": 188.76110885313417, "text": "Such a lovely place (such a lovely place)", "meaning": "Ne güzel bir yer (ne güzel bir yer)" }, { "time": 192.07359484169007, "text": "Such a lovely face", "meaning": "Ne güzel bir yüz" }, { "time": 195.61768699046326, "text": "They livin’ it up at the Hotel California", "meaning": "Beklentilerin karşılanır Hotel Kaliforniya’da" }, { "time": 201.8492159370575, "text": "What a nice surprise (what a nice surprise)", "meaning": "Ne hoş bir sürpriz (ne hoş bir sürpriz)" }, { "time": 205.16151105912783, "text": "Bring your alibis", "meaning": "Mazeretlerinizi getirin" }, { "time": 209.22526695994569, "text": "Mirrors on the ceiling", "meaning": "Tavandaki aynalar" }, { "time": 212.3376360152588, "text": "The pink champagne on ice", "meaning": "Buz kovasında pembe şampanya" }, { "time": 214.50010491798403, "text": "And she said, “We are all just prisoners here", "meaning": "Ve dedi ki, “Burada mahkumuyuz hepimiz" }, { "time": 218.96343303814697, "text": "Of our own device”", "meaning": "Sadece kendi nefsimizin”" }, { "time": 222.13279704386903, "text": "And in the master’s chambers", "meaning": "Ve büyük salonda" }, { "time": 225.3483601487732, "text": "They gathered for the feast", "meaning": "Ziyafet için toplandılar" }, { "time": 228.6337930591278, "text": "They stab it with their steely knives", "meaning": "Sapladılar çelik bıçaklarını" }, { "time": 231.19961793515014, "text": "But they just can’t kill the beast", "meaning": "Ama öldüremiyorlar canavarı" }, { "time": 235.04859291226197, "text": "Last thing I remember, I was", "meaning": "Hatırladığım son şeyse benim" }, { "time": 238.5666701335144, "text": "Running for the door", "meaning": "Koşuşum oldu kapıya" }, { "time": 242.09304218119814, "text": "I had to find the passage back", "meaning": "Geri dönüş yolunu bulmalıydım" }, { "time": 244.28514206103517, "text": "To the place I was before", "meaning": "Önceden olduğum yere" }, { "time": 248.26219898664857, "text": "“Relax, ” said the night man", "meaning": "“Sakin ol,” dedi bekçi" }, { "time": 250.99786704196168, "text": "“We are programmed to receive", "meaning": "”Bizler ev sahipliği yapmaya programlandık" }, { "time": 254.81284192370606, "text": "You can check out any time you like", "meaning": "İstediğinde çıkış yapabilirsin" }, { "time": 257.741047912262, "text": "But you can never leave”", "meaning": "Ama asla ayrılamazsın”" } ]; 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: 'BciS5krYL80', // 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); } }