| Author |
Message |
DANK
Guest
|
Posted:
Sun Dec 04, 2005 9:20 am Post subject:
Please help me with website video |
|
|
Hello,
I have never tried this before, but thought that it would be cool to have
the ability for visitors to play demonstrational videos on/from (My Videos)
my website. I guess what I am trying to say is I would like to have a player
embedded on the website, and people could choose between several videos. As I
said I am new, could someone point me in the right direction, or give me
simple instructions as to how to do that? Thanks in advance for any help. It
will be much appreciated. Thx.
--
DanK
D and B RockWerks
www.dbrockwerks.com
|
|
| Back to top |
|
 |
Jason Tan
Guest
|
Posted:
Thu Dec 29, 2005 9:30 am Post subject:
Re: Please help me with website video |
|
|
DANK wrote:
| Quote: | Hello,
I have never tried this before, but thought that it would be cool to have
the ability for visitors to play demonstrational videos on/from (My Videos)
my website. I guess what I am trying to say is I would like to have a player
embedded on the website, and people could choose between several videos. As I
said I am new, could someone point me in the right direction, or give me
simple instructions as to how to do that? Thanks in advance for any help. It
will be much appreciated. Thx.
|
Dear DANK,
Just paste this code into one of your pages, and you will have an
instance of
Windows Media Player with controls embedded in your page.
<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6"
id="WindowsMediaPlayer1" width="250" height="250" >
<param name="URL" value="put file URL here, do not remove quotes">
<param name="rate" value="1">
<param name="balance" value="0">
<param name="currentPosition" value="0">
<param name="defaultFrame" value>
<param name="playCount" value="1">
<param name="autoStart" value="-1">
<param name="currentMarker" value="0">
<param name="invokeURLs" value="-1">
<param name="baseURL" value>
<param name="volume" value="50">
<param name="mute" value="0">
<param name="uiMode" value="full">
<param name="stretchToFit" value="0">
<param name="windowlessVideo" value="0">
<param name="enabled" value="-1">
<param name="enableContextMenu" value="-1">
<param name="fullScreen" value="0">
<param name="SAMIStyle" value>
<param name="SAMILang" value>
<param name="SAMIFilename" value>
<param name="captioningID" value>
<param name="enableErrorDialogs" value="0">
<param name="_cx" value="6482">
<param name="_cy" value="6350">
</object>
Edit the value of the URL parameter by replacing the text between the
quotes with your media file's URL
e.g. http://www.server.com/media/video1.wmv
You can change the size of the player by editing the width and height
values of the object tag.
For more details about embedding the Player, download and install the
Windows Media SDK from
http://www.microsoft.com/downloads/details.aspx?FamilyID=e43cbe59-678a-458a-86a7-ff1716fad02f&DisplayLang=en
and look under this category in the SDK:
Windows Media Player 9 Series SDK > Windows Media Player Object Model >
Embedding the Player Control in a Webpage
Hope that this reply was helpful.
Jason |
|
| Back to top |
|
 |
DANK
Guest
|
Posted:
Fri Dec 30, 2005 7:33 am Post subject:
Re: Please help me with website video |
|
|
Hi Jason,
Thanks a bunch for the code and direction, I haven't finished the video yet,
but will try it out asap. If you don't mind, How would I go about setting up
a menu, or buttons to allow people to select from several videos? Would it be
some sort of playlist thing? I haven't downloaded the SDK yet, my high speed
is down for a week or so, so I am stuck with dial up at the moment. Thanks
again Jason.
DanK
--
DanK
D and B RockWerks
www.dbrockwerks.com
"Jason Tan" wrote:
| Quote: | DANK wrote:
Hello,
I have never tried this before, but thought that it would be cool to have
the ability for visitors to play demonstrational videos on/from (My Videos)
my website. I guess what I am trying to say is I would like to have a player
embedded on the website, and people could choose between several videos. As I
said I am new, could someone point me in the right direction, or give me
simple instructions as to how to do that? Thanks in advance for any help. It
will be much appreciated. Thx.
Dear DANK,
Just paste this code into one of your pages, and you will have an
instance of
Windows Media Player with controls embedded in your page.
object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6"
id="WindowsMediaPlayer1" width="250" height="250"
param name="URL" value="put file URL here, do not remove quotes"
param name="rate" value="1"
param name="balance" value="0"
param name="currentPosition" value="0"
param name="defaultFrame" value
param name="playCount" value="1"
param name="autoStart" value="-1"
param name="currentMarker" value="0"
param name="invokeURLs" value="-1"
param name="baseURL" value
param name="volume" value="50"
param name="mute" value="0"
param name="uiMode" value="full"
param name="stretchToFit" value="0"
param name="windowlessVideo" value="0"
param name="enabled" value="-1"
param name="enableContextMenu" value="-1"
param name="fullScreen" value="0"
param name="SAMIStyle" value
param name="SAMILang" value
param name="SAMIFilename" value
param name="captioningID" value
param name="enableErrorDialogs" value="0"
param name="_cx" value="6482"
param name="_cy" value="6350"
/object
Edit the value of the URL parameter by replacing the text between the
quotes with your media file's URL
e.g. http://www.server.com/media/video1.wmv
You can change the size of the player by editing the width and height
values of the object tag.
For more details about embedding the Player, download and install the
Windows Media SDK from
http://www.microsoft.com/downloads/details.aspx?FamilyID=e43cbe59-678a-458a-86a7-ff1716fad02f&DisplayLang=en
and look under this category in the SDK:
Windows Media Player 9 Series SDK > Windows Media Player Object Model
Embedding the Player Control in a Webpage
Hope that this reply was helpful.
Jason
|
|
|
| Back to top |
|
 |
|
|
|
|