Board index   FAQ   Search  
Register  Login
Board index PHP PHP General

playing quicktime movies

General discussions related to php

Moderators: macek, egami, gesf

playing quicktime movies

Postby staypuffinpc » Wed Apr 16, 2003 3:50 pm

Hi all,
I have a content-management system to which administrators can upload a .mov file and then I want users to be able to view/play that quicktime file, but I don't seem to be able to get it to work. I have not stored the file as a BLOB as that would slow down the database as more and more movies get added, but rather, I stored the path to the file in a MySQL db. The idea is that people choose a tip from a list and, if that tip has a movie attached to it, they can watch it in their browser. How do I go about getting the file to open and play in their browser (or download to their machine and then play?). Eventually, this will be hosted on a Mac OS X server on which qt streaming is available, but I'm building it on a normal OS X machine. Thanks for the help.
staypuffinpc
New php-forum User
New php-forum User
 
Posts: 3
Joined: Wed Apr 16, 2003 3:37 pm

Re: playing quicktime movies

Postby WiZARD » Thu Apr 24, 2003 6:52 am

i may propose more good solution for you!
To you need save in db not movie only path to it not more and just add to variable if you with to see it not more!

$query = .....
$path = mysql_tech....... process query
$movie = $path . "film.mov";


P.S.
if you think how to good create preview see the http://www.apple.com/trailers

good luck!
User avatar
WiZARD
Moderator
Moderator
 
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol


Return to PHP General

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.