DI
Fri Feb 17 17:39:19 CST 2006
Dick,
Check my page
How to set up Streaming Audio in your FrontPage Web
Easily embed Audio and Video into your Web pages.
http://dtiwebs.com/streaming.htm
"Dick" <Dick@discussions.microsoft.com> wrote in message
news:CD2F4AE5-B2D8-4C36-A964-E07A45FB816B@microsoft.com...
> Charles ,I am so sorry, some how I missed the entry where you sent the
> code,
> until just now. Thank you very much for your help, I too am useing this
> for
> my church's web site.
http://www.fumcwl.org
> I have copied the code to a new page in "Front Page" and placed 2 wmv
> files
> in song 1 and 2. They start on click, but WMP opens in it's own window not
> in
> the player embeded in the page. I must be doing something wrong?? Perhaps
> you
> can advise me.
>
> "Charles Ezzell (MSFT)" wrote:
>
>> Dick,
>>
>> this is quick and dirty, but works <G>.
>>
>> hope it helps,
>> Charles
>>
>>
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>> "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>> <html xmlns="
http://www.w3.org/1999/xhtml">
>>
>> <head>
>> <meta http-equiv="Content-Language" content="en-us" />
>> <title>Song 1</title>
>> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
>> />
>> <style type="text/css">
>> #left_col {
>> width: 260px;
>> position: absolute;
>> left: 0px;
>> top: 0px;
>> clear: left;
>> }
>> #page_content {
>> margin-left: 261px;
>> position: relative;
>> }
>> #container {
>> position: relative;
>> overflow: hidden;
>> left: 0px;
>> top: 0px;
>> width: 720px;
>> }
>> ..bodystyle {
>> text-align:center;
>> }
>> </style>
>> <script type="text/javascript">
>> <!--
>>
>> function SetSong1()
>> {
>> WindowsMediaPlayer1.URL = "Song1.asx";
>> WindowsMediaPlayer1.controls.play();
>> }
>> function SetSong2()
>> {
>> WindowsMediaPlayer1.URL = "Song2.asx";
>> WindowsMediaPlayer1.controls.play();
>> }
>>
>> function FP_callJS() {//v1.0
>> eval(arguments[0]);
>> }
>> // -->
>> </script>
>>
>> </head>
>> <body class="bodystyle">
>>
>> <div id="container">
>> <div id="left_col">
>> <p>
>>
>> <object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6"
>> id="WindowsMediaPlayer1">
>> <param name="URL" value="">
>> <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="0">
>> <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">
>> </object>
>> </p>
>> </div>
>> <div id="page_content">
>> <p> </p>
>> <p onclick="SetSong1()"><a href="#">Song 1</a></p>
>> <p onclick="SetSong2()"><a href="#">Song 2</a></p>
>> <p> </p>
>> <p> </p>
>> <p> </p>
>> <p> </p>
>> <p> </p>
>> <p> </p>
>> </div>
>> </div>
>>
>> </body>
>>
>> </html>
>>
>> "Dick" <Dick@discussions.microsoft.com> wrote in message
>> news:6370CC4E-7613-4CD7-A600-F4C9378C9598@microsoft.com...
>> > What I find hard to grasp is how do all tha peices fit together the
>> > player
>> > and the play list. Do you have an example I could view?
>> >
>> > "Charles Ezzell (MSFT)" wrote:
>> >
>> >> I haven't used any of the other "playlists" type, but have started
>> >> looking
>> >> into them. I just create an asf file which points to the wma files I
>> >> use
>> >> on
>> >> an MMS server. I also used in my setup a hidden media player object
>> >> with
>> >> custom controls to stop and start the music, go to next & previous in
>> >> the
>> >> play list, etc. For the few video's (usually slideshows) I've done for
>> >> my
>> >> church, I just link them on separate pages & autostart them. I tried
>> >> using
>> >> flash, but had some problems with getting the music timed properly
>> >> (usually
>> >> it played too fast).
>> >>
>> >> Charles
>> >>
>> >> "Dick" <Dick@discussions.microsoft.com> wrote in message
>> >> news:9418DC72-436C-43DB-9D24-C12600DECBF0@microsoft.com...
>> >> > Thanks Charles, I'll try this. Have you ever heard of something
>> >> > called
>> >> > "Windows Media Metafiles" movie list? I think that may be another
>> >> > way
>> >> > to
>> >> > so
>> >> > this but have no idea where to start.
>> >> >
>> >> > "Charles Ezzell (MSFT)" wrote:
>> >> >
>> >> >> You have to embed a player object similar to this:
>> >> >> <object id="Player" height="0" width="0"
>> >> >> classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
>> >> >> <param name="URL" value="">
>> >> >> <param name="autoStart" value="0">
>> >> >> </object>
>> >> >>
>> >> >> (I think 0 is don't start automatically)
>> >> >> Then, add an onclick event of some sort to each "movie", where it
>> >> >> does
>> >> >> something like this:
>> >> >> Player.URL = "movie.asx";
>> >> >> Player.controls.play();
>> >> >>
>> >> >> (this last <play()> may not be neccessary, didn't test). The movie
>> >> >> may
>> >> >> start
>> >> >> with just feeding it the filename, but not sure.
>> >> >>
>> >> >>
>> >> >> hth,
>> >> >> Charles
>> >> >>
>> >> >>
>> >> >> "Dick" <Dick@discussions.microsoft.com> wrote in message
>> >> >> news:35C3D5B4-9FE0-4534-B141-2322DD3BF88D@microsoft.com...
>> >> >> >I would like to have page with windows media player on the left
>> >> >> >and a
>> >> >> >list
>> >> >> >of
>> >> >> > movies on the right. When a movie is clicked it starts playing in
>> >> >> > the
>> >> >> > player
>> >> >> > on the left side og the page. No new player opens it just plays
>> >> >> > any
>> >> >> > movie
>> >> >> > selected from the list. Any ideas appreciated.
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >>
>>
>>
>>