Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > BT.Manager (phpMyBitTorrent)
Reply
  #1  
Old 10th September 2012, 15:55
Giorgatzelos's Avatar
Giorgatzelos Giorgatzelos is offline
Senior Member
 
Join Date: Nov 2009
Greece
Posts: 300
Default html code to newpage.php?
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?


Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<!-- must have -->
<script src="jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
<script src="js/jquery-ui-1.8.16.custom.min.js"></script>
<script src="js/vp1_html5.js" type="text/javascript" charset="utf-8"></script>
<link href="css/vp1_html5.css" rel="stylesheet" type="text/css">
<!-- must have -->

<!-- preview -->
<link href='http://fonts.googleapis.com/css?family=Questrial' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Arimo' rel='stylesheet' type='text/css'>
<link href="preview_css/preview.css" rel="stylesheet" type="text/css">
<!-- preview -->


	<script>
		$(function() {

			$('#vp1_html5_giant').vp1_html5_Video({
				skin: 'giant',
				seekBarAdjust:390,
				movieTitle: 'Archectypo Theme Movie',
				movieDesc: 'Description.'				
			});		
			
			
		});
	</script>
</head>

<body bgcolor="#d4d4d4">
<div id="page-wrap">
            </div> 
<div align="center">
            <video id="vp1_html5_giant" width="922" height="519" preload="auto" poster="videos/prevGiant.jpg">
              <source src="videos/big_buck_bunny_trailer.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' />
              <source src="videos/big_buck_bunny_trailer.ogv" type='video/ogg; codecs="theora, vorbis"' />
              <source src="videos/big_buck_bunny_trailer.webm" type='video/webm; codecs="vp8, vorbis"' /><
            </video>
   
            </div> 
</div> 

</body>

</html>

Last edited by Giorgatzelos; 11th September 2012 at 01:21.
Reply With Quote
  #2  
Old 11th September 2012, 01:26
ajax's Avatar
ajax ajax is offline
Senior Member
 
Join Date: Apr 2009
United Kingdom
Posts: 165
Default
Put it where U need with iframe. ;D
__________________
"ALWAYS BE YOURSELF.
UNLESS YOU CAN BE A UNICORN.
THEN ALWAYS BE A UNICORN."
Reply With Quote
  #3  
Old 11th September 2012, 01:35
Giorgatzelos's Avatar
Giorgatzelos Giorgatzelos is offline
Senior Member
 
Join Date: Nov 2009
Greece
Posts: 300
Default
The video player is working has anyone idea how can i make it centered?
As you can see it is positioned to the left...
Attached Thumbnails
11-9-2012 02-34-29.jpg  
Reply With Quote
  #4  
Old 11th September 2012, 01:38
ajax's Avatar
ajax ajax is offline
Senior Member
 
Join Date: Apr 2009
United Kingdom
Posts: 165
Default
<center /> ?
__________________
"ALWAYS BE YOURSELF.
UNLESS YOU CAN BE A UNICORN.
THEN ALWAYS BE A UNICORN."
Reply With Quote
  #5  
Old 11th September 2012, 01:41
Giorgatzelos's Avatar
Giorgatzelos Giorgatzelos is offline
Senior Member
 
Join Date: Nov 2009
Greece
Posts: 300
Default
Where exctly? i tried a few things but none worked!...
Reply With Quote
  #6  
Old 11th September 2012, 02:01
ajax's Avatar
ajax ajax is offline
Senior Member
 
Join Date: Apr 2009
United Kingdom
Posts: 165
Default
Quote:
Originally Posted by Giorgatzelos View Post
Where exctly? i tried a few things but none worked!...
Before the content what you want to center?
You should learn some HTML basics..
__________________
"ALWAYS BE YOURSELF.
UNLESS YOU CAN BE A UNICORN.
THEN ALWAYS BE A UNICORN."
Reply With Quote
  #7  
Old 11th September 2012, 02:08
Giorgatzelos's Avatar
Giorgatzelos Giorgatzelos is offline
Senior Member
 
Join Date: Nov 2009
Greece
Posts: 300
Default
Can you post what i should write sir, so it is centered?
No, i do not now html basics...but since you do...can you help me?
Reply With Quote
  #8  
Old 11th September 2012, 07:45
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
Quote:
Originally Posted by Giorgatzelos View Post
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/
Reply With Quote
Reply

Tags
code , html , newpagephp

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 22:22. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.