forked from wukes/youtube-php-mirroring
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
65 lines (47 loc) · 1.19 KB
/
index.php
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
<?php require 'header.php'; ?>
<!-- Page Content -->
<div class="container">
<script src="js/jquery.js"></script>
<style>
/* Source: http://bootsnipp.com/snippets/featured/responsive-youtube-player */
.vid {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px; height: 0; overflow: hidden;
}
.vid iframe,
.vid object,
.vid embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
</style>
<!-- Bootstrap Core JavaScript -->
<script src="js/bootstrap.min.js"></script>
<div class="row">
<div class="col-lg-12 text-center">
<div id="youtube-gallery"></div>
<script>
//Load video list
$("#youtube-gallery").load('list/youtube_video.php');
</script>
</div>
</div>
<!-- /.row -->
<!-- Footer -->
<footer>
<div class="row">
<div class="col-lg-12">
<hr>
<p>Copyright © <?php echo Date('Y'); ?></p>
</div>
</div>
<!-- /.row -->
</footer>
</div>
<!-- /.container -->
</body>
</html>