forked from WWBN/AVideo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
article.php
51 lines (48 loc) · 1.84 KB
/
article.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
<?php
$sources = getVideosURLPDF($video['filename']);
//var_dump($sources);exit;
?>
<style>
#main-video img{
max-width: 100%;
}
</style>
<div class="row main-video ypt-main-article" style="padding: 10px;" id="mvideo">
<div class="col-xs-12 col-sm-12 col-lg-2 firstC"></div>
<div class="col-xs-12 col-sm-12 col-lg-8 secC">
<div id="videoContainer ypt-article-container">
<div id="floatButtons" style="display: none;">
<p class="btn btn-outline btn-xs move">
<i class="fas fa-expand-arrows-alt"></i>
</p>
<button type="button" class="btn btn-outline btn-xs" onclick="closeFloatVideo();floatClosed = 1;">
<i class="fas fa-times"></i>
</button>
</div>
<video playsinline webkit-playsinline="webkit-playsinline" id="mainVideo" style="display: none; height: 0;width: 0;" ></video>
<div id="main-video" class="bgWhite list-group-item ypt-article">
<h1 style="font-size: 1.5em; font-weight: bold; text-transform: uppercase; border-bottom: #CCC solid 1px;">
<?php
echo $video['title'];
?>
</h1>
<?php
echo Video::htmlDescription($video['description']);
?>
<script>
$(document).ready(function () {
addView(<?php echo $video['id']; ?>, 0);
});
</script>
</div>
<?php
showCloseButton();
?>
</div>
</div>
<script>
$(document).ready(function () {
});
</script>
<div class="col-xs-12 col-sm-12 col-lg-2"></div>
</div><!--/row-->