Skip to content
This repository was archived by the owner on Jan 11, 2020. It is now read-only.

Commit 7dcb6ea

Browse files
Archies11ananya
authored andcommitted
Fixes #248(Embed trailer in website) (#321)
* Update index.html * Update index.html * Update index.html * Update index.html * Update index.html * Update index.html * Update index.html * Update index.html * Update index.html
1 parent c28ff80 commit 7dcb6ea

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

index.html

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@
2828
<!-- Font for countdown -->
2929
<link href='https://fonts.googleapis.com/css?family=Orbitron' rel='stylesheet' type='text/css'>
3030

31+
<style type="text/css">
32+
.modal-content iframe{
33+
margin: 0 auto;
34+
display: block;
35+
}
36+
</style>
37+
3138
</head>
3239

3340
<body>
@@ -54,6 +61,15 @@
5461
<li class="nav-item active">
5562
<a class="nav-link" href="#projects">Projects</a>
5663
</li>
64+
65+
66+
67+
<li class="nav-item active">
68+
<a class="nav-link" data-toggle="modal" data-target="#myModal">Trailer</a>
69+
</li>
70+
71+
72+
5773
<li class="nav-item dark-mode">
5874
<label class="switch">
5975
<input type="checkbox">
@@ -154,6 +170,30 @@ <h2 class="my-4">Projects</h2>
154170
<!-- Feeding data from json -->
155171
</div>
156172

173+
174+
175+
176+
177+
178+
<div id="myModal" class="modal fade" >
179+
<div class="modal-dialog" >
180+
<div class="modal-content" style="height:0px; position:relative; top:100px;">
181+
<div class="modal-body" >
182+
<iframe src="https://www.facebook.com/plugins/video.php?href=https%3A%2F%2Fwww.facebook.com%2Fopencodeiiita%2Fvideos%2F2301796573173119%2F&show_text=0&width=560"
183+
width="560" height="315" style="position:relative; left: -70px; top: -70px;border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true" allowFullScreen="true"></iframe>
184+
</div>
185+
<!-- <div class="modal-footer" height="0px">
186+
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
187+
</div> -->
188+
</div>
189+
</div>
190+
</div>
191+
192+
193+
194+
195+
196+
157197
<!-- Pagination -->
158198
<div class="d-flex justify-content-center">
159199
<nav aria-label="Page navigation example">

0 commit comments

Comments
 (0)