View Full Version : Please Help with video playing in website
new at this
03-19-2006, 02:01 AM
Hi,
I am hoping somebody can shed some light on something I know is probably very simple but I just can't seem to get it right.
I have videos ( mpeg) on my web site they are not embeded they play in windows media player. I would like to know how people get their videos to play once they are fully loaded not play in bits while they are loading.( I find this very annoying).
Would embededing them help?
Hoping somebody will help.
Thanking you for your time
Erica
_Aerospace_Eng_
03-19-2006, 02:33 AM
Yes embedded them would help. Use this code
<object width="340" height="260"
classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
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="url" value="yourvid.mpg">
<param name="uiMode" value="full">
<param name="autoStart" value="true">
<param name="loop" value="true">
<embed type="application/x-mplayer2"
pluginspage="http://microsoft.com/windows/mediaplayer/en/download/"
showcontrols="true" uimode="full" width="340" height="260"
src="yourvid.mpg" autostart="1" loop="true"></embed>
</object>
new at this
03-19-2006, 03:03 AM
Thank you for your reply,
I just tried it and unfortunaly it still plays while buffering??????????
Is there something I am doing wrong????
I cut your code filled in all my details uploaded to the web site and no luck.
any help would be much appreciated ,
Erica
_Aerospace_Eng_
03-19-2006, 04:13 AM
I think this is the default behavior of videos. Apparently this buffer time is encoded into the video some how. A program called Sorenson Squeeze seems to allow you to set the buffer time. This program isn't cheap though but I think you can get a trial version not sure.
new at this
03-19-2006, 04:56 AM
I don't know what I am doing wrong,
What I am trying to achieve is for my clips not to play until they have completely finished buffing.
At the moment they play while its buffing so constantly you have watch the movie clip twice to achieve a non interrupted view.
thanks again
erica
_Aerospace_Eng_
03-19-2006, 05:04 AM
Post a link to your page or at least the link to the video you are using. I know what you are trying to achieve no need to repeat yourself.
_Aerospace_Eng_
03-19-2006, 05:36 AM
I found this page http://www.w3schools.com/media/media_playerref.asp
It seems like you the AudioStream or BufferingTime params are what you might need. Try this
<object id="test" width="340" height="260"
classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
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="url" value="2001%20odessy.mpg">
<param name="AudioStream" value="false">
<param name="BufferingTime" value="500">
<param name="uiMode" value="full">
<param name="autoStart" value="true">
<param name="playCount" value="9999">
<embed type="application/x-mplayer2"
pluginspage="http://microsoft.com/windows/mediaplayer/en/download/"
showcontrols="1" uimode="full" width="340" height="260"
src="2001%20odessy.mpg" autostart="1" playcount="9999"></embed>
</object>
If that doesn't work, I'm out of ideas. Only thing I can tell you is to cut down on video size some how. Good luck.
new at this
03-19-2006, 05:44 AM
Thank you very much for all your help,
I will give this ago and see what happens.
I will let you know how I go
Thanks again
Erica
new at this
03-30-2006, 11:56 AM
Thanks for all your help,
seems to be working fine now.
http://www.fab60s.net
Thanks again Erica
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.