-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
89 lines (73 loc) · 3.13 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<link href="link rel=" preconnect href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Quicksand&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<link rel="stylesheet" href="./assets/css/styles.css" />
<title>Project 1</title>
</head>
<header class="hero">
<h1 class="title">YouTube GIF Creations</h1>
<p>Search for a video and a relevent GIF to match the mood!</p>
</header>
<body>
<div class="card purple darken-4">
<h3 class="card-video purple darken-4">Search Video</h3>
<form id="video-form" class="card-body purple darken-4">
<label class="form-label" for="video"></label>
<input name="video" id="video" type="text" autofocus="true" class="input" />
<button id="get-video" type="submit" class="find-btn">Find Video</button>
</form>
</div>
<div id="video-results"></div>
<div class="card purple darken-4">
<h3 class="card-gif">Search Gif</h3>
<form id="gif-form" class="card-body">
<label class="form-label" for="gif"></label>
<input id="gif" type="text" autofocus="true" class="input" />
<button id="get-gif" type="submit" class="waves-effect waves-light gif-btn">Find Gif</button>
</form>
<div id="gif-results"></div>
</div>
<div id="video-container" class="hide video-container">
<form id="video-form" class="card-body">
<img id="gif-for-video">
<div id="player"></div>
<label class="form-label" for="Your-Videos"></label>
</form>
</div>
<div id="controls" class="hide">
<div class="buttons">
<button class="waves-effect waves-light btn-large" id="play-button">PLAY</button>
<button class="waves-effect waves-light btn-large" id="pause-button">PAUSE</button>
<button class="waves-effect waves-light btn-large" id="mute-button">MUTE</button>
</div>
<div id="video-error-message"></div>
</div>
<div id="save-video-button hide">
<button id="save-video" type="button" class="save-btn">Save Video</button>
<div id="save-error"></div>
</div>
<div class=previous-video-container>
<h4>Click to see your previous videos</h4>
<form id="previous-form" class="card-body">
<label class="form-label" for="Previous Videos"></label>
<button id="previous-video" type="button" class="previous-btn">Previous Videos</button>
</form>
<div id="previous-results"></div>
</div>
<div id="youtube-api"></div>
<script src="./assets/js/script.js"></script>
<footer class="page-footer white-text center indigo darken-4">
<p>
© 2023 Awesome group Danielle, Ryan, and William.
</p>
</footer>
</body>
</html>