|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Embedding Video?
Ok basically what I want to do is to embed a video and show a image basically to video, Theres going to be a couple of them on each page and all they have to do is click play to start video. The files are wmv format, So how and can this be done?
I want to be able to show what movie looks like but actually dont play unless they click play.. |
|
#2
|
||||
|
||||
|
This should get you pointed in the right direction:
http://www.oreillynet.com/pub/a/jav...bdesign_chap22/ wdn2k |
|
#3
|
|||
|
|||
|
Re:
Here is the Windows Media Player code. Just edit the big font acording to you.
<html> <head> <title>Title</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body background="backgrownd location"> <p align="center"> </p> <p align="center"> <object id="MediaPlayer" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Microsoft® 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="filename" VALUE="File name"> <PARAM NAME="autoStart" VALUE="true"> <PARAM NAME="showControls" VALUE="true"> <param name="ShowStatusBar" value="true"> <PARAM NAME="Autorewind" VALUE="true"> <PARAM NAME="ShowDisplay" VALUE="false"> <embed SRC="The location of video http://... or file///c:/... " WIDTH="400" HEIGHT="400" type="application/x-mplayer2" name="MediaPlayer" autostart="1" showcontrols="1" showstatusbar="1" autorewind="1" showdisplay="1"></OBJECT> </p> </body> </html> |
|
#4
|
||||
|
||||
|
D00d, what is it with you and embedded video threads?
Again, this thread is a month old, and has already been answered... ![]()
__________________
Support requests via PM will be ignored! |
|
#5
|
|||
|
|||
|
Can this method also be used for .mov and .mpeg-4 files? Is there a way to show just a preview (screen shot of the first frame) but then force a download of the video?
|
![]() |
| Viewing: Dev Shed Forums > Web Design > Web Design Help > Embedding Video? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|