Skip to content

Commit e2d2299

Browse files
author
Ariel Spear & Kallen Millner & Colleen Minor & Stephany Garcia & Ashley Sullins
committed
video
1 parent 1e7bb25 commit e2d2299

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

src/main/java/App.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,10 @@ public static void main(String[] args) {
4646
return new ModelAndView(model, layout);
4747
}, new VelocityTemplateEngine());
4848

49-
get("/loadpage", (request, response) -> {
49+
get("/video", (request, response) -> {
5050
HashMap<String, Object> model = new HashMap<String, Object>();
51-
//Get the relevant gems from the params, put into model...
5251

53-
54-
model.put("template", "templates/loadpage.vtl");
52+
model.put("template", "templates/video.vtl");
5553
return new ModelAndView(model, layout);
5654
}, new VelocityTemplateEngine());
5755

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

22

3-
<div class="img"><img id = "image" src="/img/start.gif"></div>
3+
<div class="img"><a href="/video"><img id = "image" src="/img/start.gif"></div></a>
44

55
<a href="/gems" button class="sparkley last">Let's make a fusion!</button></a>

src/main/resources/templates/layout.vtl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ function newColour() {
207207
</script>
208208
</head>
209209
<body>
210-
<audio controls autoplay hidden="hidden">
210+
<audio loop="loop" autoplay="autoplay" controls="controls" hidden="hidden">
211211
<source src="opening.ogg" type="audio/ogg">
212212
<source src="opening.mp3" type="audio/mpeg">
213213
Your browser does not support the audio element.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<iframe width="420" height="315" src="https://www.youtube.com/embed/PPxTdZN3xdg?autoplay=1" frameborder="0" allowfullscreen></iframe>
2+
<br>
3+
<br>
4+
<br>
5+
6+
<a href="/gems" button class="sparkley last">Let's make a fusion!</button></a>

0 commit comments

Comments
 (0)