- Messages
- 16,091
- Reaction score
- 24
- # of dives
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
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
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.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
<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>
I figured there was something simple to embed a video file... I just wasn't familiar with the code.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