You are here: Linking to Video File? « PHP Programming Language « IT news, forums, messages
Linking to Video File?

Posted by Jim Ford on 04/12/07 21:02

This is more strictly an HTML problem, but as I'm also using PHP and the
HTML groups seem to be infested with spam, I'm posting it here!

At the school where I work I've got an online searchable database of
video tapes and dvds, using MySql and PHP on a Linux machine. It works
fine. I'm trancoding some of the tapes to avi files, which can be
accessed as a samba share. I'd like to put clickable links into the
database, so if a user sees the file is coloured blue, they can click it
and it plays. I've got it working, but:

Using a 'href' link in HTML code of the PHP powered web page, the file
is downloaded at the user end completely before it starts playing, which
results in an unacceptably long delay. But if a user accesses the file
directly using the samba share directory, the video starts almost
immediately and 'streams'.

How can I embed into my PHP powered web page a link that uses samba file
sharing, so it streams, please?

Jim Ford

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация