Hi Please help, I'm a newbie when it comes to putting video in a webpage and I have successfully done it but the playback is attrocious. I've seen larger files using the same methodology and theirs plays consistently.

I am using a Macromedia Flash player - here is my code but it works. Is there a buffer setting or something that I'm missing?

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/
swflash.cab
#version=7,0,0,0" width="320" height="240" id="320x240" align="middle">
<PARAM NAME=allowFlashAutoInstall VALUE=true>
<param name=Flashvars value="url=120ProvidenceDr.flv">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="320x240.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="320x240.swf" swLiveConnect="true"
Flashvars="url=120ProvidenceDr.flv"
quality="high" bgcolor="#ffffff" width="320" height="240" name="320x240"
align="middle" allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

My first guess is that the host you're using is slow or your internet download speed is slow. Where are you hosting your site?

My first guess is that the host you're using is slow or your internet download speed is slow. Where are you hosting your site?

fortehosting.com

Is it possible you can upload this video.

I will take a look at it for you and rewrite you a script - annotating how it was done.

I see what you mean - Takes forever to buffer...

Well I will see if I can write a code for you.

See below

Okay this code here worked fine on my server.

<!-- START of Video Script-->
<embed src="http://www.townmvideo.com/vidwalk/120ProvinceDr-1.wmv" width="320" height="319" autostart="0" showcontrols="1" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/windows/windowsmedia/download/"> </embed>
<!-- End of Video Script-->

Give that ago. It worked fine for me. If not you can make the video into flash format. My experience is videos in flash format work and load better than those that aren't.

Hope it helps.

Grant

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.