Jump to content

PHDL + dr Divx 2.0 + uploading script - divx tube !


mysoogal

Recommended Posts

i'm trying to make a video sharing website based on dr divx encoding software 2.0 on windows used for encoding video clips into divx DX50 format, next i'm using PHPDL to display the directory listings for the output divx files, now this PHPDL script has support for flv with light box packaged inside, also wmv and qt embed over lightbox popup,

 

what i want to do is change this, qt support into divx web player instead, so when a user clicks the clip example from the directory listing, video.divx, it will use the divx web player instead not quicktime,

here is my home project http://mysoogal.com  right now uploading script has been put offline until i fix this problem. any help please

 

here is the short code

 

<?
/** ----------------------------------------------------------------------------------------------------------[ TEMPLATE: LIGHTBOX ]
* @desc					This is the template used to display the lightbox popup
*/
else :
?>
<!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" />
<title>PHPDL - lightbox</title>
<style type="text/css">
body{
margin: 0;
padding: 0;
}
div{
text-align: center;
}
</style>
</head>
<body>
<div>
<? if($_GET['display'] == 'quicktime' && isset($_GET['file'])) :?>
<embed
	src="<?=$_GET['file']?>"
	width="<?=$vWidth?>"
	height="<?=$vHeight?>"
	autoplay="true"
	controller="true"
	scale="aspect"
/>
<? endif; ?>
<? if($_GET['display'] == 'flv' && isset($_GET['file'])) :?>
<embed 
	src="<?=$this_script?>?resource=player.swf" 
	width="<?=$vWidth?>"
	height="<?=$vHeight?>"
	allowscriptaccess="always"
	allowfullscreen="true"
	flashvars="file=<?=$_GET['file']?>&autostart=true&controlbar=over&bufferlength=3&displayclick=play&fullscreen=true&stretching=fill&volume=100"
/>
<? endif; ?>
<? if($_GET['display'] == 'mp3' && isset($_GET['file'])) :?>
<embed
	src="<?=$this_script?>?resource=player_mp3_mini.swf"
	width="200"
	height="20"
	allowscriptaccess="always"
	flashvars="mp3=<?=$_GET['file']?>&bgcolor=ffffff&loadingcolor=bb0000&buttoncolor=bb0000&slidercolor=999999&autoplay=1"
/>
<? endif; ?>
</div>

</body>
</html>


<? endif; ?>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.