Re: QuickTime question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tedd 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);


That would simply send the QT file to the browser, which would display it sans HTML. If by "inside the page" you mean inside of your interface, this is the opposite of what you want. You'll need to create an object tag.

But (since we're already off-topic) i'd suggest you check out the anarchy media player:

http://an-archos.com/anarchy-media-player

This thing is wonderful. 5 stars! Grab the "Standalone Javascript for non-WP sites" version.

brian

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux