105 lines
4.5 KiB
HTML
105 lines
4.5 KiB
HTML
<!DOCTYPE html><html lang="en"><head>
|
|
|
|
<!-- This website is not affiliated with either lainon.life or fauux. -->
|
|
<!-- https://github.com/debil03311/fauuxonlife -->
|
|
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>fauuxon.life</title>
|
|
<link rel="shortcut icon" href="./public/asset/favicon.ico" type="image/x-icon">
|
|
|
|
<!-- Regular -->
|
|
<meta name="theme-color" content="#d2738a">
|
|
<meta name="image" content="https://debil03311.github.io/fauuxonlife/public/asset/embed.png">
|
|
<meta name="title" content="lainon.life interface">
|
|
<meta name="description" content="fauux-inspired, unaffiliated, third party interface for the lainon.life web radio">
|
|
|
|
<!-- OpenGraph -->
|
|
<meta property="og:type" content="website">
|
|
<meta property="og:image" content="https://debil03311.github.io/fauuxonlife/public/asset/embed.png">
|
|
<meta property="og:site_name" content="fauuxon.life">
|
|
<meta property="og:title" content="lainon.life interface">
|
|
<meta property="og:description" content="fauux-inspired, unaffiliated, third party interface for the lainon.life web radio">
|
|
|
|
<!-- Twitter -->
|
|
<meta property="twitter:card" content="summary">
|
|
<meta property="twitter:image" content="https://debil03311.github.io/fauuxonlife/public/asset/embed.png">
|
|
<meta property="twitter:title" content="lainon.life interface">
|
|
<meta property="twitter:description" content="fauux-inspired, unaffiliated, third party interface for the lainon.life web radio">
|
|
|
|
<link rel="stylesheet" href="./public/asset/icofont/icofont.min.css">
|
|
<link rel="stylesheet" href="./public/css/index.css">
|
|
<link rel="stylesheet" href="./public/css/index.m.css">
|
|
</head><body>
|
|
<div id="darken" class="overlay no-select"></div>
|
|
<div id="scanlines" class="overlay no-select"></div>
|
|
<div id="vignette" class="overlay no-select"></div>
|
|
|
|
<div id="warning-message" class="overlay hidden" onclick="this.classList.add('hidden')">
|
|
<div id="warning-content">
|
|
<h2>Something went wrong.</h2>
|
|
|
|
<p>
|
|
Failed to fetch the necessary data. Check to see if <a href="https://lainon.life">lainon.life</a> is down.
|
|
</p>
|
|
|
|
<p>
|
|
If it's not down then there's an issue with CORS, but you can probably it yourself! All you have to do is get an extension/add-on for your browser that enables CORS anywhere. If you're Chromium-based, check <a href="https://chrome.google.com/webstore/detail/allow-cors-access-control/lhobafahddgcelffkeicbaginigeejlf">this one</a> out. If you're on FireFox, I have no idea, maybe <a href="https://addons.mozilla.org/en-US/firefox/addon/cors-everywhere/">this one</a>? Do keep in mind that enforcing CORS at all times could break some other sites you may frequent.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<audio id="audio" class="hidden"
|
|
preload="none"
|
|
src="https://lainon.life/radio/cafe.ogg"
|
|
></audio>
|
|
|
|
<header>
|
|
fauux(<a href="https://lainon.life/">lainon.life</a>): [<span class="listeners current" title="Listening">0</span>, <span class="listeners unique" title="UNIQUYE">0</span>, <span class="listeners total" title="Peak Listeners">0</span>]
|
|
</header>
|
|
|
|
<section id="player">
|
|
<div id="progress-bar"
|
|
style="width: 0%"
|
|
class="no-select">
|
|
</div>
|
|
|
|
<div id="volume-bar"
|
|
style="width: 20%"
|
|
class="no-select">
|
|
</div>
|
|
|
|
<div id="current-details" class="no-select">
|
|
<span id="current-song">
|
|
<span id="current-title">NOT PLAYING</span>
|
|
<span id="current-playlist">NULL</span>
|
|
</span>
|
|
|
|
|
|
<span id="current-artist">NULL</span>
|
|
</div>
|
|
</section>
|
|
|
|
<section id="channels">
|
|
<i id="swing"
|
|
title="swing"
|
|
class="channel icofont-ui-play"
|
|
onclick="switchChannel(this.id)"
|
|
></i>
|
|
</section>
|
|
|
|
<section id="song-list">
|
|
<div id="list-previous"></div>
|
|
|
|
<div id="list-current">
|
|
Select one of the channels above to start listening.<br>
|
|
This project is <a href="https://github.com/debil03311/fauuxonlife">open source</a> and unaffiliated with either lainon.life or fauux.
|
|
</div>
|
|
|
|
<div id="list-next"></div>
|
|
</section>
|
|
|
|
<script defer src="./public/js/index.js"></script>
|
|
</body></html> |