Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
lennartkloock committed Aug 6, 2023
1 parent c22cd0e commit 09b9cf2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
7 changes: 5 additions & 2 deletions frontend/website/src/components/icons/player/lightning.svelte
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<svg width="48" height="48" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M19 1H10.1367L5 13.2661L11.1381 12.3817L5.56005 23L18.8107 7.95014L11.883 8.81975L19 1Z" fill="currentColor"/>
</svg>
<path
d="M19 1H10.1367L5 13.2661L11.1381 12.3817L5.56005 23L18.8107 7.95014L11.883 8.81975L19 1Z"
fill="currentColor"
/>
</svg>
14 changes: 7 additions & 7 deletions frontend/website/src/components/user-page/player.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
let paused = true;
let audioOnly = false;
let fullscreen = false;
let error = false;
let error = false;
function onManifestLoaded(evt: EventManifestLoaded) {
manifest = evt;
Expand All @@ -36,7 +36,7 @@
}
function onError(evt: EventError) {
console.log(`⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠛⠋⠉⣉⣉⠙⠿⠋⣠⢴⣊⣙⢿⣿⣿
console.log(`⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠛⠋⠉⣉⣉⠙⠿⠋⣠⢴⣊⣙⢿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠟⠋⠁⠀⢀⠔⡩⠔⠒⠛⠧⣾⠊⢁⣀⣀⣀⡙⣿
⣿⣿⣿⣿⣿⣿⣿⠟⠛⠁⠀⠀⠀⠀⠀⡡⠊⠀⠀⣀⣠⣤⣌⣾⣿⠏⠀⡈⢿⡜
⣿⣿⣿⠿⠛⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠡⣤⣶⠏⢁⠈⢻⡏⠙⠛⠀⣀⣁⣤⢢
Expand All @@ -47,8 +47,8 @@
⣦⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣴⣿⣶⣾⣿⣿⣿
⣿⣿⣿⣷⣶⣤⣄⣀⣀⣀⡀⠀⠀⠀⠀⠀⠀⢀⣀⣤⣝⡻⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⡹⣿⣿⣿⣿⣿⣿ Player Error`);
console.log("error" + evt.error);
error = true;
console.log("error" + evt.error);
error = true;
}
function onShutdown() {
Expand Down Expand Up @@ -131,9 +131,9 @@
<span>Sorry, your browser can't play this</span>
</video>
<div class="center-icons">
{#if error}
<Lightning />
<span>Something went wrong</span>
{#if error}
<Lightning />
<span>Something went wrong</span>
{:else if paused}
<Pause size={48} />
{:else if audioOnly}
Expand Down

0 comments on commit 09b9cf2

Please sign in to comment.