EpisodeLC-Plyr/guarda.php

61 lines
2.0 KiB
PHP

<?php include_once("conn/conn.php") ?>
<?php
if(isset($_GET['id']))
{
$id = mysqli_real_escape_string ($alexsito, $_GET['id']);
$queryepisode="SELECT * FROM tbl_episode WHERE id ='$id'";
$resultList=mysqli_query($alexsito, $queryepisode) or die("Errore db ".mysqli_error($alexsito));
$row = mysqli_fetch_array($resultList);
}
?>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="LORD CHANNEL THEATER">
<meta name="author" content="MICKSLASH">
<title><?php echo $row['titolo']?></title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.plyr.io/3.6.2/plyr.css" />
<style>
.rectangle {
width:70%;
height:70%;
background-color: black;
border: 3px solid red;
position: absolute;
top: 15%;
left: 15%;
}
.rectangle>iframe {
display:block;
width:100%;
height:100%;
}
</style>
</head>
<body background="filmserietv.jpg">
<?php include 'nav.php';?>
<div class="rectangle">
<video id="player" playsinline controls>
<source src='<?php echo $row['link embedded']?>'></source>
</video>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<script src="https://cdn.plyr.io/3.6.2/plyr.js"></script>
<script>
const player = new Plyr('#player');
</script>
</body>
</html>