-
Notifications
You must be signed in to change notification settings - Fork 2
/
embed.php
41 lines (41 loc) · 1.2 KB
/
embed.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
<?php
error_reporting(0);
include "func.php";
$pluslink = 'https://plus.google.com/photos/photo/114603279038643369009/6493300016477276578';
$pdata = googleplus($pluslink);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Google Plus Player</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<style>
html,body{
height: 100%;
width: 100%;
margin: 0;
}
</style>
<!-- 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://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div id="myElement"></div>
<script src="https://content.jwplatform.com/libraries/DbXZPMBQ.js"></script>
<script>
var playerInstance = jwplayer("myElement");
playerInstance.setup({
sources: <?php echo $pdata; ?>,
image: "",
width:"100%",
height:"100%",
autostart: "false",
});
</script>
</body>
</html>