forked from SH20RAJ/driveexceed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
drivexceed.php
46 lines (46 loc) · 1.37 KB
/
drivexceed.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
<?php
header( 'Content-Type: text/html' );
require_once( __DIR__ . '/drivexceed.setup.php' );
require_once( __DIR__ . '/drivexceed.configuration.php' );
$setup = json_encode( $configuration );
?>
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php
echo $title;
?></title>
<script type="text/javascript" src="./resources/js/jwpatch.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<style type="text/css">
html, body {
margin: 0;
padding: 0;
}
#drivexceed-container {
position: absolute;
width: 100% !important;
height: 100% !important;
}
</style>
</head>
<body>
<div id="drivexceed-container"></div>
<script type="text/javascript">
window.drivexceed = function() {
window.jwplayer.key = 'https://github.com/masgasatriawirawan/drivexceed/';
window.jwplayer( 'drivexceed-container' ).setup( <?php echo $setup; ?> );
};
</script>
</body>
</html>
<?php
exit;
?>