Click to See Complete Forum and Search --> : I need some video help, please
northsouthrick
08-19-2008, 01:41 AM
I have a page all constructed with Web Page Maker...got it to work pretty well, but having a really tough time getting an AVI to play from my website..
They say to make the text, or button, and hyperlink it to where the AVI is located on my hard drive...and it will be uploaded automatically when I publish..But, every time my page is loaded, and I click on the AVI, it brings up a box that wants me to download.....can you please tell me what that is all about?????? thanks..............
Eye for Video
08-19-2008, 10:35 AM
I’m not familiar with Web Page Maker so I can’t comment on exactly how that works but I’ll explain the basics of how to get a video to display on your Web page.
First, you need to code in an <object> on the page to call up a plug-in in the viewers browser. Here’s an example:
<object classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/" name="win_media_player" width="320" height="310" hspace="0" vspace="0" title="movie">
<param name="fileName" value="power_team.wmv" />
<param name="autostart" value="true" />
<param name="showstatusbar" value="true" />
<param name="AutoRewind" value="true" />
<embed src="power_team.wmv" width="320" height="310" hspace="0" vspace="0" autostart="false" filename="power_team.wmv" name="win_media_player"></embed>
</object>
Depending on the type of video file, you may have to change the classid="CLSID: shown above is for Windows Media Player. Flash or Quicktime would be different. Google for specifics.
The <object> will point to your video file as a source. This video file should be stored on your Web host server and NOT on your hard drive.
<param name="fileName" value="power_team.wmv" />The value=“this_is_path_to_video_file” must be the correct path to the video file. This can to the relative path to a file in the same folder as Web page (as shown above) or an absolute address, http://mysite.com/video/power_team.wmv.
If you plan on interacting much with your site, use some FTP software to upload all your files and keep an eye on folders structures and paths use on your site. Build the entire site on your local machine with all the folders, files, etc. then just drag and drop into the correct location on your hosting server. Here is a good free one.
http://www.smartftp.com/
Using an .avi file for Web video will present some problems. First, it is a container format and does not describe the codec (or type of compression code) used on the video. The result is the it may not play in the Windows Media Player (or whichever player plug-in you set in the “classid”). The .avi file type is also notorious for being very large video files. As a result, download times can be very long and slow.
For best results, convert the .avi to Flash .flv or Windows .wmv. Google for converters, lots out there. Correctly code in for the appropriate player plug-in:
http://www.w3schools.com/TAGS/tag_object.asp
Then use FTP sofware to upload all your Web site files.
Best of luck on your project,
Eye for Video
www.cidigitalmedia.com
northsouthrick
08-19-2008, 10:57 AM
Thanks for all you have written...I am looking it over...and will see if I can make any progress...Hope that someone comes on that does the Web Page Maker, maybe they will know the true insides of that program...I am doing exactly what they tell me to do...but keep getting that download box..which to me should not even come up....they say when doing it by their instructions, it will load the AVI right to where it needs to be....have so much to learn.....and thank you again..
I’m not familiar with Web Page Maker so I can’t comment on exactly how that works but I’ll explain the basics of how to get a video to display on your Web page.
First, you need to code in an <object> on the page to call up a plug-in in the viewers browser. Here’s an example:
<object classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/" name="win_media_player" width="320" height="310" hspace="0" vspace="0" title="movie">
<param name="fileName" value="power_team.wmv" />
<param name="autostart" value="true" />
<param name="showstatusbar" value="true" />
<param name="AutoRewind" value="true" />
<embed src="power_team.wmv" width="320" height="310" hspace="0" vspace="0" autostart="false" filename="power_team.wmv" name="win_media_player"></embed>
</object>
Depending on the type of video file, you may have to change the classid="CLSID: shown above is for Windows Media Player. Flash or Quicktime would be different. Google for specifics.
The <object> will point to your video file as a source. This video file should be stored on your Web host server and NOT on your hard drive.
<param name="fileName" value="power_team.wmv" />The value=“this_is_path_to_video_file” must be the correct path to the video file. This can to the relative path to a file in the same folder as Web page (as shown above) or an absolute address, http://mysite.com/video/power_team.wmv.
If you plan on interacting much with your site, use some FTP software to upload all your files and keep an eye on folders structures and paths use on your site. Build the entire site on your local machine with all the folders, files, etc. then just drag and drop into the correct location on your hosting server. Here is a good free one.
http://www.smartftp.com/
Using an .avi file for Web video will present some problems. First, it is a container format and does not describe the codec (or type of compression code) used on the video. The result is the it may not play in the Windows Media Player (or whichever player plug-in you set in the “classid”). The .avi file type is also notorious for being very large video files. As a result, download times can be very long and slow.
For best results, convert the .avi to Flash .flv or Windows .wmv. Google for converters, lots out there. Correctly code in for the appropriate player plug-in:
http://www.w3schools.com/TAGS/tag_object.asp
Then use FTP sofware to upload all your Web site files.
Best of luck on your project,
Eye for Video
www.cidigitalmedia.com