-
Notifications
You must be signed in to change notification settings - Fork 0
/
movie-details.html
221 lines (187 loc) · 7.03 KB
/
movie-details.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
<!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">
<title></title>
<!-- favicon -->
<link rel="shortcut icon" href="./favicon.svg" type="image/svg+xml">
<!-- custom css link-->
<link rel="stylesheet" href="css/mdstyle.css">
<!-- google font link -->
<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=Poppins:wght@400;500;600;700&display=swap" rel="stylesheet">
</head>
<body id="#top">
<main>
<article>
<!-- - #MOVIE DETAIL -->
<section class="movie-detail">
<div class="container">
<figure class="movie-detail-banner">
<video id="mainVideo" controls height="100%" width="100%" muted></video>
</figure>
<div class="movie-detail-content">
<p class="detail-subtitle">New Episodes</p>
<h1 class="h1 detail-title">
</h1>
<div class="meta-wrapper">
<div class="badge-wrapper">
<div class="badge badge-outline">HD</div>
</div>
<div class="ganre-wrapper">
<a href="#">Category,</a>
</div>
<div class="date-time">
<div>
<ion-icon name="calendar-outline"></ion-icon>
<time datetime="2021">2021</time>
</div>
<div>
<ion-icon name="time-outline"></ion-icon>
<time datetime="PT115M">35 min</time>
</div>
</div>
</div>
<p class="storyline">
</h1>
</p>
<a class="download-btn" download>
<span>Download</span>
<ion-icon name="download-outline"></ion-icon>
</a>
</div>
</div>
</section>
<!-- - #TV SERIES -->
<section class="tv-series">
<div class="container">
<p class="section-subtitle">Best TV Series</p>
<h2 class="h2 section-title">Similar TV Series</h2>
<ul class="movies-list">
<li>
<div class="movie-card">
<a href="./movie-details.html">
<figure class="card-banner">
<img src="./img/m2.webp" alt="MahaBhart">
</figure>
</a>
<div class="title-wrapper">
<a href="./movie-details.html">
<h3 class="card-title">MahaBhart</h3></a>
<time datetime="2022">2020</time>
</div>
<div class="card-meta">
<div class="badge badge-outline">2K</div>
<div class="duration">
<ion-icon name="time-outline"></ion-icon>
<time datetime="PT47M">47 min</time>
</div>
<div class="rating">
<ion-icon name="star"></ion-icon>
<data>8.6</data>
</div>
</div>
</div>
</li>
<li>
<div class="movie-card">
<a href="./movie-details.html">
<figure class="card-banner">
<img src="./img/m3.webp" alt="Mahadev">
</figure>
</a>
<div class="title-wrapper">
<a href="./movie-details.html">
<h3 class="card-title">Mahadev</h3>
</a>
<time datetime="2022">2022</time>
</div>
<div class="card-meta">
<div class="badge badge-outline">2K</div>
<div class="duration">
<ion-icon name="time-outline"></ion-icon>
<time datetime="PT59M">59 min</time>
</div>
<div class="rating">
<ion-icon name="star"></ion-icon>
<data>8.8</data>
</div>
</div>
</div>
</li>
<li>
<div class="movie-card">
<a href="./movie-details.html">
<figure class="card-banner">
<img src="./img/m4.webp" alt="Ramayan ">
</figure>
</a>
<div class="title-wrapper">
<a href="./movie-details.html">
<h3 class="card-title">Ramayan</h3>
</a>
<time datetime="2022">2022</time>
</div>
<div class="card-meta">
<div class="badge badge-outline">2K</div>
<div class="duration">
<ion-icon name="time-outline"></ion-icon>
<time datetime="PT51M">51 min</time>
</div>
<div class="rating">
<ion-icon name="star"></ion-icon>
<data>8.3</data>
</div>
</div>
</div>
</li>
<li>
<div class="movie-card">
<a href="./movie-details.html">
<figure class="card-banner">
<img src="./img/m5.webp" alt="Suryputra karn">
</figure>
</a>
<div class="title-wrapper">
<a href="./movie-details.html">
<h3 class="card-title">Suryputra karan</h3></a>
<time datetime="2017">2017</time>
</div>
<div class="card-meta">
<div class="badge badge-outline">4K</div>
<div class="duration">
<ion-icon name="time-outline"></ion-icon>
<time datetime="PT70M">70 min</time>
</div>
<div class="rating">
<ion-icon name="star"></ion-icon>
<data>8.3</data>
</div>
</div>
</div>
</li>
</ul>
</div>
</section>
</article>
</main>
<script>
//Store Value From index page
const urlParams = new URLSearchParams(window.location.search);
const midV = urlParams.get('mid');
const mnameV = urlParams.get('mname');
const mdescV = urlParams.get('mdesc');
const mthmV = urlParams.get('mthm');
//Set the Value Of
document.querySelector("video").setAttribute("src", midV);
document.querySelector("#mainVideo").setAttribute("poster", mthmV);
document.querySelector(".download-btn").setAttribute("href", midV);
document.querySelector("p.storyline").innerText = mdescV;
document.querySelector("h1.detail-title").innerHTML = mnameV;
document.querySelector("title").innerText=mnameV;
</script>
</body>
</html>