Re: QuickTime question
| From: | Eric Butera | Date: | Wed, 15 Aug 2007 15:30:12 +0000 |
| Subject: | Re: QuickTime question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260853@lists.php.net to get a copy of this message | ||
On 8/15/07, tedd <tedd@sperling.com> wrote:
> Hi gang:
>
> Given:
>
> http://www.webbytedd.com/bb/ice/
>
> How can I play the movie inside the page instead of going to another page?
>
> I know that I could use phpclasses, but that seems an overkill.
>
> I think something like this --
>
> $file_source = 'ice-fishing.mov';
> $size = filesize($file_source,"","");
>
> header('Pragma: public');
> header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
> header('Cache-Control: must-revalidate, pre-check=0, post-check=0, max-age=0');
> header('Content-Transfer-Encoding: none');
> header("Content-type: video/quicktime");
> header("Content-Length: " . $size);
>
> -- but it's falling short.
>
> Thanks for any help.
>
> Cheers,
>
> tedd
>
> --
> -------
> http://sperling.com
> http://ancientstones.com
> http://earthstones.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
JavaScript?
Put a nice event listener that checks for click actions and do a swap
out of the innerHTML with the movie.