2022-06-01 17:55:27 +00:00
|
|
|
# Add Music to the login screen
|
2022-06-01 19:20:45 +00:00
|
|
|
|
|
|
|
# Videoid of the Youtube video you want to play
|
2022-06-01 19:11:28 +00:00
|
|
|
videoid="ZjQZxqTipHM"
|
2022-06-01 19:20:45 +00:00
|
|
|
|
|
|
|
# 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="<iframe width='560' height='315' src='https://www.youtube-nocookie.com/embed/$videoid?autoplay=1&controls=0&loop=1' title='Background Music' frameborder='0' allow='autoplay;'></iframe>"
|
|
|
|
|
|
|
|
# The final string.
|
2022-06-01 21:04:48 +00:00
|
|
|
Video="<div class='app' style='margin-left: 25px;'>$iframe</div>"
|
2022-06-01 19:20:45 +00:00
|
|
|
|
|
|
|
# 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
|
2022-06-01 18:55:19 +00:00
|
|
|
# Nice
|