added documentation
This commit is contained in:
parent
156dbab820
commit
a4066a2937
@ -1,5 +1,17 @@
|
|||||||
# Add Music to the login screen
|
# Add Music to the login screen
|
||||||
|
|
||||||
|
# Videoid of the Youtube video you want to play
|
||||||
videoid="ZjQZxqTipHM"
|
videoid="ZjQZxqTipHM"
|
||||||
Video="<section class='join-body flexrow'><div class='flexcol'><div class='app'><center><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></center></div></div></section>"
|
|
||||||
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="<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.
|
||||||
|
Video="<div class='app'>$iframe</div>"
|
||||||
|
|
||||||
|
# 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
|
# Nice
|
||||||
|
Loading…
Reference in New Issue
Block a user