Quote:
Originally Posted by Giorgatzelos
It wasn't necessary to make it .php...all i have to do is center it...
i used include ("preview.htm"); in my index.php but i want it centered....
Can anyone correct if it has errors and make the video player centered plz?
|
here yea go
PHP Code:
<?php
/*
*----------------------------phpMyBitTorrent V 2.0.4---------------------------*
*--- The Ultimate BitTorrent Tracker and BMS (Bittorrent Management System) ---*
*-------------- Created By Antonio Anzivino (aka DJ Echelon) --------------*
*------------------- And Joe Robertson (aka joeroberts) -------------------*
*------------- http://www.p2pmania.it -------------*
*------------ Based on the Bit Torrent Protocol made by Bram Cohen ------------*
*------------- http://www.bittorrent.com -------------*
*------------------------------------------------------------------------------*
*------------------------------------------------------------------------------*
*-- This program is free software; you can redistribute it and/or modify --*
*-- it under the terms of the GNU General Public License as published by --*
*-- the Free Software Foundation; either version 2 of the License, or --*
*-- (at your option) any later version. --*
*-- --*
*-- This program is distributed in the hope that it will be useful, --*
*-- but WITHOUT ANY WARRANTY; without even the implied warranty of --*
*-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --*
*-- GNU General Public License for more details. --*
*-- --*
*-- You should have received a copy of the GNU General Public License --*
*-- along with this program; if not, write to the Free Software --*
*-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA --*
*-- --*
*------------------------------------------------------------------------------*
*------ ©2010 phpMyBitTorrent Development Team ------*
*----------- http://phpmybittorrent.com -----------*
*------------------------------------------------------------------------------*
*-------------------- Sunday, May 17, 2009 1:05 AM ------------------------*
*/
if (defined('IN_PMBT'))die ("You can't include this file");
define('IN_PMBT', true);
include("header.php");
OpenTable(" ");
echo '<video id="vp1_html5_giant" width="922" height="519" preload="auto" poster="videos/prevGiant.jpg">';
echo '<source src="videos/big_buck_bunny_trailer.mp4" type=\'video/mp4; codecs="avc1.42E01E, mp4a.40.2"\' />';
echo '<source src="videos/big_buck_bunny_trailer.ogv" type=\'video/ogg; codecs="theora, vorbis"\' />';
echo '<source src="videos/big_buck_bunny_trailer.webm" type=\'video/webm; codecs="vp8, vorbis"\' />';
echo '</video>';
CloseTable();
include ("footer.php");
?>
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in
BT.Manager™ forum
My Current Demo is here
http://demo.btmanager.org/