Skip to content

Commit

Permalink
Remove invidious video background
Browse files Browse the repository at this point in the history
Most instances currently are IP blocked specifically when it comes to proxying video:
iv-org/invidious#4045
  • Loading branch information
MarmadileManteater committed Aug 25, 2023
1 parent 46a34b3 commit 4fe293a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion data
Submodule data updated 2 files
+64 −35 projects.json
+4 −0 tags.json
4 changes: 1 addition & 3 deletions src/routes/+layout.svelte
Expand Up @@ -2,7 +2,6 @@
import '../global.css'
import Header from '../components/header/header.svelte'
import Footer from '../components/footer/footer.svelte'
import InvidiousVideoBackground from '../components/invidious-video-background/invidious-video-background.svelte'
import GodotSceneBackground from '../components/godot-scene-background/godot-scene-background.svelte'
import Emoji from '../components/emoji/emoji.svelte'
let loadGodot = false
Expand All @@ -17,10 +16,9 @@
<GodotSceneBackground sceneUrl='/godot_background/index.html' />
{/if}
{#if !loadGodot}
<InvidiousVideoBackground videoId='1t54WpT-aus' itag='134' />
<span class='text-white absolute top-2 right-5 z-10 hover:underline cursor-pointer hidden lg:inline' on:click={enableGodot} on:keydown={enableGodot}>Load <Emoji emoji='🤖' />Godot background scene in browser</span>
{/if}
<div class='flex flex-col min-h-screen' data-semi-transparent='true' >
<div class='flex flex-col min-h-screen' data-semi-transparent={loadGodot?'true':'false'} >
<div class='wrapper flex-1 flex flex-col relative' >
<Header />
<main class='max-w-full ml-auto mr-auto flex flex-col flex-1' style='width:1000px'>
Expand Down
1 change: 1 addition & 0 deletions src/routes/+layout.ts
@@ -0,0 +1 @@
// export const prerender = true

0 comments on commit 4fe293a

Please sign in to comment.