RE: [PHP] QuickTime question
| From: | Bastien Koert | Date: | Wed, 15 Aug 2007 21:04:56 +0000 |
| Subject: | RE: [PHP] QuickTime question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-260878@lists.php.net to get a copy of this message | ||
Can't you just embed <embed> the file in the page?
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
codebase="http://www.apple.com/qtactivex/qtplugin.cab"
height="256" width="320"> <param name="src"
value="<?php echo "./vids/$file" ?>"> <param
name="autoplay" value="true"> <param
name="controller" value="true"> <embed
height="256" width="320" src="<?php echo "./vids/$file"
?>" pluginspage="http://www.apple.com/quicktime/download/"
type="video/quicktime" controller="true" autoplay="true">
</object>
bastien> Date: Wed, 15 Aug 2007 11:25:43 -0400> To: php-general@lists.php.net> From:
bastien> tedd@sperling.com> Subject: [PHP] QuickTime question> > Hi gang:> > Given:> >
bastien> http://www.webbytedd.com/bb/ice/> > How can I play the movie
bastien> inside the page instead of going to another page?> > I know that I could use phpclasses, but
bastien> that seems an overkill.> > I think something like this --> > $file_source =
bastien> 'ice-fishing.mov';> $size = filesize($file_source,"","");> >
bastien> header('Pragma: public');> header('Last-Modified: '.gmdate('D, d M Y
bastien> H:i:s').' GMT');> header('Cache-Control: must-revalidate, pre-check=0,
bastien> post-check=0, max-age=0');> header('Content-Transfer-Encoding: none');>
bastien> header("Content-type: video/quicktime");> header("Content-Length: " .
bastien> $size);> > -- but it's falling short.> > Thanks for any help.> > Cheers,>
bastien> > tedd> > -- > -------> http://sperling.com
bastien> http://ancientstones.com http://earthstones.com> > -- > PHP
bastien> General Mailing List (http://www.php.net/)> To unsubscribe, visit:
bastien> http://www.php.net/unsub.php>
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx