uploading videos to website designed with FP

Please register or login

Welcome to ScubaBoard, the world's largest scuba diving community. Registration is not required to read the forums, but we encourage you to join. Joining has its benefits and enables you to participate in the discussions.

Benefits of registering include

  • Ability to post and comment on topics and discussions.
  • A Free photo gallery to share your dive photos with the world.
  • You can make this box go away

Joining is quick and easy. Log in or Register now!

OK, after a long upload time the clip will play...it uploaded but there is just the square...shouldn't there be a picture or something? Or do I have to link it to a picture
 
justleesa:
OK, after a long upload time the clip will play...it uploaded but there is just the square...shouldn't there be a picture or something? Or do I have to link it to a picture
There is a way to embed the windows media player into the page, so that it will just start streaming immediately, instead of having to fully download the whole file. Kind of like how the SB video gallery just plays videos.

This may work for you... if you tweak a few things.

Here's the code that produces my video in the SB Gallery - http://www.scubaboard.com/gallery/showphoto.php/photo/50542/cat/500/ppuser/37789

<OBJECT id='mediaPlayer' width="320" height="285"
classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'
codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701'
standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'>
<param name='fileName' value="http://www.scubaboard.com/gallery/data/500/3-29-2006.wmv">
<param name='animationatStart' value='true'>
<param name='transparentatStart' value='true'>
<param name='autoStart' value="true">
<param name='showControls' value="true">
<param name='loop' value="false">
<EMBED type='application/x-mplayer2'
pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1'
bgcolor='darkblue' showcontrols="true" showtracker='-1'
showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="320" height="285"
src="http://www.scubaboard.com/gallery/data/500/3-29-2006.wmv" autostart="true" designtimesp='5311' loop="false">
</EMBED>
</OBJECT>
 
Since you already have the file uploaded, this should work:

<EMBED SRC="mymovie.mpeg" WIDTH=100 HEIGHT=100>

The width/height tags set the size of the viewing window.

There are also optional parameters for the embed tag that you can play with.

Here's a reference:

http://www.html-reference.com/EMBED.htm

Or you could replace the filename in howarde's example with yours and that should work also. Since it's basically the same tag with a lot of parameters already set.
 
sjspeck:
It's much simpler than that. Since you already have the file uploaded, this should work:

<EMBED SRC="mymovie.mpeg" WIDTH=100 HEIGHT=100>

The width/height tags set the size of the viewing window.

There are also alot of optional parameters for the embed tag that you can play with.

Here's a reference:

http://www.html-reference.com/EMBED.htm
I figured there was something simple to embed a video file... I just wasn't familiar with the code. :wink:
 

Back
Top Bottom