emma
Guest
|
Posted:
Fri Dec 30, 2005 5:30 pm Post subject:
embeding wmv files in my blog |
|
|
Hi there,
I'm pretty new at this stuff, but am trying to figure out how I can embed a
wmv file in my blog (on blogger.com, if that matters). I've seen other blogs
where their videos appear in mini media players. Does anyone know how I can
do this with my WMV's?
I thank you in advance, and all good things,
Emma
|
|
Neil Smith [MVP Digital M
Guest
|
Posted:
Fri Dec 30, 2005 9:30 pm Post subject:
Re: embeding wmv files in my blog |
|
|
On Fri, 30 Dec 2005 07:27:02 -0800, "emma"
<emma@discussions.microsoft.com> wrote:
| Quote: | Hi there,
I'm pretty new at this stuff, but am trying to figure out how I can embed a
wmv file in my blog (on blogger.com, if that matters). I've seen other blogs
where their videos appear in mini media players. Does anyone know how I can
do this with my WMV's?
|
You'll need to be able to insterd HTML code into your blog. Most
blogging software will have an option to do this manually. The code
you'll need will be similar to this :
<!--[if IE]>
<object classid="clsid:6bf52a52-394a-11d3-b153-00c04f79faa6"
type="application/x-oleobject" width="320" height="320"
id="MediaPlayer1">
<param name="url"
value="http://myserver.com/path/to/my_video_file.wmv" />
<param name="uimode" value="mini" />
<param name="autostart" value="true" />
<param name="volume" value="50" />
<!--[if ! IE]>
<object
data="http://myserver.com/path/to/my_video_file.wmv"
type="video/x-ms-wmv" width="320" height="320" id="MediaPlayer2">
<param name="ShowStatusBar" value="1" />
<param name="autostart" value="true" />
<param name="volume" value="50" />
</object>
<![endif]-->
</object>
<![endif]-->
Vary the width and height on both those to match your video size
(remembering there's about 40 pixels at the bottom added on for the
controls). So height = 320 translates to a video display area of 280
pixels. Oh, and change http://myserver.com/path/to/my_video_file.wmv
to whatever-the-URL of your video really is (change both instances !)
The code above should be compatible with XHTML blogs, and ought to
work in IE and Firefox correctly. I haven't got the Mac on to test it
in Safari yet, and it may not work there.
HTH
Cheers - Neil |
|