-
Notifications
You must be signed in to change notification settings - Fork 6
/
archive.php
34 lines (29 loc) · 1.13 KB
/
archive.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
<html>
<head>
<?php include 'css_include.php'; ?>
<?php include 'js_include.php'; ?>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
</head>
<body>
<div class="container"><?php
include 'topheader.php';
include 'navbar.php';
?>
<script>
var youtube_videos = ['zh9BTTuOk3g','yXtWhcag5CA', 'bNKRQ7KgtfM', 'joODd099ncs', 'mDEaX8XVsKI', 'AtpzG6q7bj0','02kgVTY3ZuM','Fzfd1tYfjwg','KsXKyUcv4R4',
'z3QcBQA3Z3Y','Vk4BL_PoM0g','XbqRY4v08UM','15AUFP0fmrU','4LW8nETl5uQ','RJBwT-kcENI','nvfxcfTLuMA','eQ3kJd0zZxw','69H4Hk5OB8o','6vZUALTQMGo','nsQ-DSSUOi0',
'tDGhmJcgZzg','Utf3UQ04Tv8','d6Snm1JWy48'
];
for(i=0;i<youtube_videos.length;i++){
$("#container").append("<div class='col-lg-4 col-md-4 col-sm-6 col-sm-12' id='vid'><iframe frameborder='0' allowfullscreen></iframe></div>");
}
var video = $('#vid');
for(i=0;i<youtube_videos.length;i++){
video.children('iframe').attr('src','https://www.youtube.com/embed/' + youtube_videos[i]);
video = video.next();
}
</script>
</div>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
</body>
</html>