This topic is locked

Db with video clips

5/2/2007 8:47:05 AM
PHPRunner General questions
M
mmponline author

I have a need to setup a database where videos can be displayed. Anyone with some help?

  1. I need to display a thumbnail (if possible) of the video.
  2. When user click on the thumbnail, the video needs to show in a specific place on the page (similar to the detailed pictures on the Properety template)
  3. It must not open in a seperate window or in Media Player itself.
  4. I've seen sites where the video opens in a "small Media Player" screen.
  5. The videos can be .wmv (media player) or .mov (Quicktme) - I have all the conversion tools.
    I will probably do the conversions and admin part myself, so I can manually upload the video file and create a thumbnail if needed.
    Any suggestions on how to get this done. It will be a simple table with Thumbnail of video (With hyperlink to open it), Description, (Maybe size and dowload time), etc.
    Thanks for any suggestions!

kujox 5/2/2007

I found this, change VIDFILE to your file name

<p align="center">

<object

width="320"

height="260"

classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"

hspace="0"

border="1">

<param

name="Filename" value="VIDFILE" />

<param

name="AutoStart"

value="True" />

<param

name="ShowControls"

value="False" />

<param

name="ShowStatusBar"

value="True" />

<param

name="ShowDiplay"

value="False" />

<param

name="AutoRewind"

value="True" />

<embed

width="320"

height="260"

hspace="320"

filename=

"VIDFILE"

autostart="True"

showcontrols="True"

showstatusbar="True"

showdiplay="True"

autorewind="True"

border="1"

src=

"VIDFILE"></embed> </object>

</p>
M
mmponline author 5/2/2007

Kujox
Questions:

  1. Is vidfile the field name, or actual filename? I need the video be read from the filename entered in the field.
  2. Does this code apply to all video formats, or only specific codecs?
  3. Do I just add this as a code snippet in the field and where? Custom? or an event?
    Thanks for your help!