mysoogal Posted November 12, 2008 Share Posted November 12, 2008 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; ?> Quote Link to comment Share on other sites More sharing options...
mysoogal Posted November 13, 2008 Author Share Posted November 13, 2008 nobody helps here what a pity Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.