( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ
<?php include("const.inc.php");
require_once('Connections/videoondemand.php'); ?>
<?php
if (empty($page)) {
$page = 0;
}
require("DbSql2.inc.php");
require("NewsSql2.inc.php");
$db = new NewsSQL();
$picha= $_GET["picha"];
$resultx = $db->videobyid($picha);
$titlex = $resultx[0]["title"];
$videox = $resultx[0]["video"];
$titlex = $resultx[0]["title"];
$descriptionx = $resultx[0]["description"];
$videox = $resultx[0]["video"];
$picturex = $resultx[0]["picture"];
$newsidx = $resultx[0]["newsid"];
$catalogidx = $resultx[0]["catalogid"];
$cataresult = $db->getchildcatalog($catalogid);
$catanewsresult = $db->addrivenHTML5($page,$front_latestoncatarecord,$catalogidx,$picha);
$homecataresult = $db->getchildcatalog(0);
$homelatestresult = $db->getlatestonhome($front_latestonhomerecord);
$picturepath = "./photo/";
while ( list($key,$val)=each($catanewsresult) ) {
$title = stripslashes($val["title"]);
$description = stripslashes($val["description"]);
$video = stripslashes($val["original"]);
$picture = stripslashes($val["picture"]);
$newsid = stripslashes($val["newsid"]);?>
<script src="js/jquery.min.js"></script>
<script src="js/mediaelement-and-player.min.js"></script>
<link rel="stylesheet" href="css/html5video.css" media="screen">
<style type="text/css">
.mejs-container { margin: 0 auto; }
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
</style>
<video width="900" height="500" poster="<?php echo $siteaddress ?>images/default.jpg">
<source src="<?php echo $siteaddress ?>v/uploads/raw/<?php echo $video ?>" type="video/mp4">
</video>
<script>
$(document).ready(function() {
$('video').mediaelementplayer({
alwaysShowControls: false,
videoVolume: 'horizontal',
features: ['playpause','progress','volume','fullscreen']
});
});
</script>
<?php }?>