Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<?php
error_reporting(E_ALL ^ E_WARNING ^ E_NOTICE);
if($_POST['submit'] and strlen($_POST['url'])>0){
$file = $_POST['url'];
$number = explode(":", $file);
$i = substr($number[2],0 ,2);
if(fopen("http://media.vbox7.com/s/$i/$number[2].flv","r"))
{
$url = "http://media.vbox7.com/s/$i/$number[2].flv";
} else {
for($ii = 2; $ii <= 15; $ii++)
{
if($ii < 10)
{
if(fopen("http://media0$ii.vbox7.com/s/$i/$number[2].flv", "r"))
{
$url = "http://media0$ii.vbox7.com/s/$i/$number[2].flv";
}
} else {
if(fopen("http://media$ii.vbox7.com/s/$i/$number[2].flv", "r"))
{
$url = "http://media$ii.vbox7.com/s/$i/$number[2].flv";
}
}
}
}
list($width, $height, $type, $attr) = getimagesize("http://i47.vbox7.com/p/$number[2]3.jpg");
$string = file_get_contents($file);
$pet=explode('<title>',$string);
$edno=explode('</title>',$pet[1]);
echo "Title : " .$edno[0] . "<br />"; // name
echo "<br />"; //information
echo "<a href='".$url."'><img src='http://i47.vbox7.com/p/$number[2]3.jpg'"; // image
echo "<br />Download Video !";
?>
<script type="text/javascript">
var fo = new SWFObject("http://i47.vbox7.com/player/ext.swf?vid=<?= $url ?>", "v-mania", "512", "439", "9", "#f3f3f3", true);
fo.addParam("AllowScriptAccess", "never");
fo.addParam("allowFullScreen", "true");
fo.addVariable("config", "{ showPlayListButtons: true, playList: [ { url: '<? echo "http://i47.vbox7.com/p/$number[2]3.jpg" ?>', overlayId: 'play' }, { url: '<?= $url ?>' }, { overlayId: 'play' } ], loop: true, initialScale: 'orig', autoBuffering: true, useNativeFullScreen: true }");
fo.write("fp1");
</script>
<?
} else {
echo '<form method="post" action="">
Post link like this: <b>http://vbox7.com/play:ef113908</b><br>
<input type="text" name="url" size="35" value="'.$_POST['url'].'"><br>
<input type="submit" name="submit" style="font-style: bold;" value="Download">
</form><br />';
}
?>