From a4066a29374e63f2517e5921702ab9948ec098e6 Mon Sep 17 00:00:00 2001 From: "James@SCF-GC" Date: Wed, 1 Jun 2022 21:20:45 +0200 Subject: [PATCH] added documentation --- James' Things/foundry patches/loginmusic.sh | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/James' Things/foundry patches/loginmusic.sh b/James' Things/foundry patches/loginmusic.sh index 0c1f01e..79f30c6 100644 --- a/James' Things/foundry patches/loginmusic.sh +++ b/James' Things/foundry patches/loginmusic.sh @@ -1,5 +1,17 @@ # Add Music to the login screen + +# Videoid of the Youtube video you want to play videoid="ZjQZxqTipHM" -Video="
" -sed -i -e "70i $Video" /home/foundry/resources/app/templates/setup/join-game.html + +# The actual embed code that embeds the video. +# This is only in case you want to change some parameters. +# Don't forget to add the $videoid near the embed! +# (In case you still want to use that, but I highly doubt that) +iframe="" + +# The final string. +Video="
$iframe
" + +# Inject that bad boy into the foundry thing. Might break in future updates (May only need the line changed) +sed -i -e "69i $Video" /home/foundry/resources/app/templates/setup/join-game.html # Nice