keyongtech


  keyongtech > php

 #1  
04-12-07, 10:02 PM
Jim Ford
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
 #2  
04-12-07, 11:22 PM
Jerry Stuckle
Jim Ford wrote:
[..]
> 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


Jim,

You really need to ask this in an html group. You'll get better answers
there, spam or not.
 #3  
04-13-07, 09:16 AM
Tyno Gendo
Jerry Stuckle wrote:
> Jim Ford wrote:
>
> Jim,
>
> You really need to ask this in an html group. You'll get better answers
> there, spam or not.
>


You don't want to be using an href. Try looking up OBJECT / EMBED tags
and embed the data in the web page inline. The OBJECT/EMBED parameters
will be different depending on what you're embedding.

Flash Video is quite popular (like on YouTube), if you decide to go that
route:

You can find free embeddable Flash video players on the web, have a look
at this tutorial if you decide to go the Flash Movie way:

http://granades.com/2006/09/14/how-t...ny-easy-steps/

There seems to be a nice link to a free Flash Video encoder which will
transform your AVI's here (we have full version of flash here so I
haven't used that but looks good):

http://www.rivavx.com/index.php?encoder&L=3
 #4  
04-13-07, 09:28 AM
Jim Ford
Tyno Gendo wrote:

> You don't want to be using an href. Try looking up OBJECT / EMBED tags
> and embed the data in the web page inline. The OBJECT/EMBED parameters
> will be different depending on what you're embedding.


Thanks a lot Tyno, I'll follow up what you suggest.

Thanks again for putting me on the right path!

Jim Ford
Similar Threads
Thread Thread Starter
linking to video clips

I'm trying to use Expression Web to create an interactive CD that plays in a browser. I'd like text buttons to hyperlink to video clips. Help?

zCharlie
Linking movie video in PPT

Help please. I have spent days trying to insert a DVD movie into my PPT presentation. The movie is my own saved as MPEG using Arabesk/Casablanca programmes. The resultant...

DeepStream
linking music and video

Using Microsoft windows 2000 and power point. I am loading power points from several speakers for a meeting. I am coping their presentations from a cd onto my hard drive....

RChannell
linking to a video - PP 2003

Is it possible to link to a video with a text link in PP? I know I can insert/embed in a slide, but I'm wondering if I can link to it so that it doesn't have to be played as...

Greg Wilker
Playing, linking video in ppt

A colleague has a ppt with linked video. Previously played fine. Recently created a new folder and added ppt and video. He relinked the video but now will not play. Shows...

rjez

Privacy Policy | All times are GMT. The time now is 04:56 PM.

Merging Information Logo
[Deutschland] [Espaņa] [France] [Italia] [Nederland] [Polska] [United Kingdom]