Help - Search - Members - Calendar
Full Version: Adding Video On Webpage
MonsterSmallBusiness Forums > MonsterCommerce > Using MonsterCommerce Software
kabert
Does anyone know of a good way to add a rather large video to a page? I would like for the video to stream. Any good programs out there?
Javahead
You will need to create a custom page with the nessesary code. Here is a link to Microsofts site that is pretty intuitive on adding Media Player.

http://msdn.microsoft.com/library/default....pages__etse.asp

As far as the video file you just upload it to your site with the filemanager
erina-mcqa
You can add video to your page by uploading it to your file manager and then referencing it in your code in homepage messages or homepage news etc.

A list of allowable file types can be found here: http://kb.monstercommerce.com/support/acti...Id=142&catId=10

One thing to consider though, is if the video is running at all times and not by a link that a customer clicks on to view it, your bandwidth could take quite a hit.

happy.gif
Javahead
You best bet is to use the following code as a starting point.

CODE
<HTML>
<HEAD>
<TITLE>Embedded Windows Media Player 6.4 Control</TITLE>
</HEAD>
<BODY>
<OBJECT ID="MediaPlayer" WIDTH=320 HEIGHT=240
 CLASSID="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95"
 STANDBY="Loading Windows Media Player components..."
 TYPE="application/x-oleobject"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">

 <PARAM name="autoStart" value="True">
 <PARAM name="filename" value="http://WebServer/MyFile.wvx">

<EMBED TYPE="application/x-mplayer2"
   SRC="http://WebServer/MyFile.wvx"
   NAME="MediaPlayer"
   WIDTH=320
   HEIGHT=240>
 </EMBED>
</OBJECT>
</BODY>
</HTML>


This will add a media player control to your page and allow for the file to stream when the page is being viewed only. If you dont want the file to autostream change the <PARAM name="autostart" value="True"> to "False"
kabert
Thanks! What is the best video format to use? .wvx ?
Javahead
wsx, asf, wmv, and I am pretty sure that mpg, mpeg, and avi will work as well but the last 3 may not stream and have to fully download before they will play.
Neil82591
I would think twice before putting the video on a MC server since it is not a streaming server at all. We host our video off site on a streaming server for that reason.

Just my 3 cents.......
As Seen On TV
We need to add videos to our webpages. Please help. We need videos to start as soon as the customer visits the page. These videos will be 1-2 minutes long and we do not mind hosting videos platform other than monstersmile.gif . Replies and any help would be appreciated.
KennyE
Did you read Javahead's reply? I do believe the code he provided will autostream the video when the page is loaded.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.