-
-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathembed.php
More file actions
25 lines (25 loc) · 529 Bytes
/
embed.php
File metadata and controls
25 lines (25 loc) · 529 Bytes
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
<?php
$url = isset($_GET['url']) ? htmlspecialchars($_GET['url']) : null;
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>MediaFire</title>
</head>
<body>
<div id="player"></div>
<script src="https://content.jwplatform.com/libraries/wr6i4gal.js"></script>
<script>
jwplayer("player").setup({
playlist: [{
"sources": <?php require 'mediafire.php';?>
}],
allowfullscreen: true,
width: '100%',
aspectratio: '16:9',
});
</script>
</body>
</html>