PDA

View Full Version : Help with video



Patientlearner
03-11-2008, 03:22 PM
I uploaded a video file jammin2007.avi into a videos folder in my public_html but it's unplayable in the web page I created. The video html code in web page looked like this:

<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" width="425" height="355">
<param name="src" value="http://www.myunfinishedsite.com/public_html/videos/Jammin2007.AVI" />
<param name="url" value="http://www.myunfinishedsite.com/public_html/videos/Jammin2007.AVI" />
<param name="width" value="425" /><param name="height" value="355" />
<embed type="application/x-mplayer2" src="videos/Jammin2007.AVI" width="425" height="355">
</embed></object>

Help is greatly appreciated. Thank you!

shadmego
03-11-2008, 03:48 PM
The link to this forum post from 4 years ago might help point you in the right direction:

http://www.ozzu.com/website-design-forum/how-embed-avi-mpeg-file-web-page-t23407-15.html#p159126

Just a cursory glance at your code reveals incorrect "src" and "url" values. You should not put public_html in your url because www.myunfinishedsite.com (http://www.myunfinishedsite.com) already points to the public_html folder. Get rid of those errant lines and you might be fine.

Having a look at that link above might shed some light as well ...

~regards

organicpixels
03-12-2008, 12:16 PM
As a video guy, I would say not to try to publish an avi over the internet. Your better off using an mp4 or something more compressed. If you want better quality and smaller size. You might want to look at using quicktime's h-264 video codec. If you publish it in avi, it will take alot of bandwidth for the user to view it.