Welcome to WebmasterWorld Guest from 54.158.36.59

Forum Moderators: incrediBILL

Message Too Old, No Replies

How to add video clip on HTML pages?

Inserting video clip in Dreamweaver MX pages..Can you teach me?TQ

     
3:09 pm on Nov 11, 2005 (gmt 0)

10+ Year Member



Hi everyone,

I'm planning to insert video clip in my html pages(I'm using Macromedia Dreamweaver MX) and I don't have any idea at all how can I insert it.

I browsed around the internet and find out those video clips in other sites are "framed" nicely in the window media player and we can choose when to play the video clip.

Can you guys provide some advices and inputs?

Thanks a million in advance.

Regards,
Low

4:32 pm on Nov 11, 2005 (gmt 0)

5+ Year Member



You could use the windows media player object to embed the video in your page.

Check out this page.
[mioplanet.com...]

here is some code that i used to embed a video on one of my pages one time.

<object id="MediaPlayer" width=320 height=270 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112"
standby="Loading Microsoft Windows Media Player components..."
type="application/x-oleobject">
<param name="FileName" value="myVideoClip.wmv">
<param name="ShowControls" value="1">
<param name="ShowDisplay" value="0">
<param name="ShowStatusBar" value="1">
<param name="AutoSize" value="0">
<param name="AutoStart" value="1">
<param name="AudioStream" value="1">
</object>

Hope this helps

8:09 pm on Nov 11, 2005 (gmt 0)

10+ Year Member




Scally Ally,Thanks for replying.

I've tried with the code you showed.But don't know why,everytime i try playing the clip in my "design view" window,then the whole program will experience with error which causing the program to close.

I suspect there're something to do with my "parameters".I can't set my parameters where i was required to setup some "server testing" stuff whenever I try to setup the parameters.(I don't use Dreamweaver to upload site)And I was required to change the file type to other extension (no more .htm).The htm file become php or cfm file...

I tried uploading the file with my "incompleted video clip" to the internet as well but the clip couldn't play.Is it something to do with my internet browser(IE 6.0) or macromedia (dreamweaver MX)?

Thanks

Low

10:05 am on Nov 14, 2005 (gmt 0)

5+ Year Member



If you are working in dreamweaver you should get an AX grey box (design view) where you have placed the code.

I had a problem trying to play it on some macs and on a couple of older PC's because of the version of media player that is installed. You may want to check that you have a version that will go with the code.

I dont know why it is causing your program to crash though? that sounds a bit dodgy..

12:40 pm on Nov 14, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Scally - I also believe that that won't work on Firefox without the ActiveX plugin installed.
3:15 pm on Nov 14, 2005 (gmt 0)

10+ Year Member



Thanx pals.

I've successfully settled my problem.There're some error with my source "URL".Previously,I inserted the "local address" without the http. Though I thought I wouldn't affect.However,after I've changed the source URL to "http://" form (after uploading the clip to my host),everything's fine now.

Yup,it's an activeX (grey box) :))

Thanx a lot for your help Scally.. :))

Low

 

Featured Threads

Hot Threads This Week

Hot Threads This Month