homepage Welcome to WebmasterWorld Guest from 54.196.159.11
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
How to add video clip on HTML pages?
Inserting video clip in Dreamweaver MX pages..Can you teach me?TQ
Lowkei




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

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

 

Scally_Ally




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

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

Lowkei




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


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

Scally_Ally




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

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..

Robin_reala




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

Scally - I also believe that that won't work on Firefox without the ActiveX plugin installed.

Lowkei




msg:601937
 3:15 pm on Nov 14, 2005 (gmt 0)

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved