[Nfb-web] html script to load video

Arnold Bailey arnoldbail at gmail.com
Wed Dec 3 12:48:41 UTC 2008


Hi Milton,

1) I'm not sure this is what you need; but, it gave me the controls. The
only thing is that Firefox will display the video without controls. But, I
used it anyway because most  of the users have IE.

<script type="text/javascript">
document.write('<OBJECT ID="Player" width="190" height="184"
CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" class="floatright"
style=border:0px;">\n');

document.write('<PARAM name="autoStart" value="False">\n');
document.write('<PARAM name="uiMode" value="full">\n');
document.write('<PARAM name="volume" value="50">\n');
document.write('<PARAM name="mute" value="false">\n');
document.write('<PARAM name="URL" value="
http://www.nfb.org/Images/nfb/Video/Building%20Our%20Future_Custom10.wmv
">\n');
document.write('<embed src="
http://www.nfb.org/Images/nfb/Video/Building%20Our%20Future_Custom10.wmv"
width="330" height="310" autoStart="False" uiMode="full" volume="50"
mute="false">\n');
document.write('</embed>\n');
document.write('</OBJECT>\n');
</script>

2) I used the following statement to start the audio on initial page load.
The loop value says do it once. I placed it in the heading section after the
<title></title>

<bgsound src="audio/melodyGuns.mp3" loop="0" />

HTH

Arnold


On Wed, Dec 3, 2008 at 2:59 AM, Milton M. Ota <mota at hawaii.rr.com> wrote:

> Thanks don, I think that is what I'm looking for. I'll added to the page
> and see what happens.
>
> Milton ota, Webmaster
> Committee on automobile and Pedestrian Safety
> National Federation of the Blind
>
>
>
> -----Original Message-----
> From: nfb-web-bounces at nfbnet.org [mailto:nfb-web-bounces at nfbnet.org] On
> Behalf Of Don Bomer (Tex)
> Sent: Tuesday, December 02, 2008 8:32 PM
> To: NFB Webmaster's List
> Subject: Re: [Nfb-web] html script to load video
>
> Hi Milton,
>
> You don't need anything except the following html to play a WMV file.
> When
> double-clicked, the Open / Save / Cancel dialog opens and the user has
> the
> choice to see it now or let it download first if on a slow connection.
>
> ------------
> <div align="center">
>     <a href="video/2008-07-27_pour.wmv">May 4th - "Pouring it
> On", Video version</a>
> </div>
> ------------
>
> That's the actual code on my church website for the video of a sermon
> that I
> made last May.   It consists of a number of pictures in a slideshow
> during
> the sermon. I used Muvee V6 to produce it.  (I am sighted, for those of
> you
> who don't know me).  You can try it for yourself at
> http://www.ststeve.org/sermons.htm.
>
> I precede the link with the following instructions / html so that users
> may
> also download whatever player they may need for either PC or Mac:
>
> -------------
> The following is the most recent available sermon which also contains
> video;
> that being several photographs repeating throughout the sermon. This is
> a
> Microsoft WMV file, playable on a PC. It is also playable on a Mac if <a
>
> href="http://www.microsoft.com/downloads/details.aspx?FamilyID=915d874d-
> d747-4180-a400-5f06b1b5e559&DisplayLang=en<http://www.microsoft.com/downloads/details.aspx?FamilyID=915d874d-d747-4180-a400-5f06b1b5e559&DisplayLang=en>
> "
> target="_blank">Windows Media Components for Quicktime</a> is installed
> for
> the QuickTime player or if <a
> href="http://www.microsoft.com/downloads/details.aspx?FamilyID=75ee2b64-
> 5184-422a-91b6-20eed03e6175&DisplayLang=#<http://www.microsoft.com/downloads/details.aspx?FamilyID=75ee2b64-5184-422a-91b6-20eed03e6175&DisplayLang=#>
> "
> target="_blank">Windows Media Player 7.1 for Mac</a> or <a
> href="https://order.real.com/pt/order.html?country=US&language=EN&mppi=0
> &mppos_list=0&mpst=0&ppath=cpmacpl060204a&pageregion=player_button&pcode
> =rn&opage=sp_os_mac&src=rpchoice_0_3_1_0_0_1_0,sp_os_mac<https://order.real.com/pt/order.html?country=US&language=EN&mppi=0&mppos_list=0&mpst=0&ppath=cpmacpl060204a&pageregion=player_button&pcode=rn&opage=sp_os_mac&src=rpchoice_0_3_1_0_0_1_0,sp_os_mac>
> "
> target="_blank"> Real Player for Mac OS X</a> is installed (all free
> downloads).<br><br>
> ---------------
>
> I hope this is what you need.
>
> Warm regards,
>
> Don...
>
> ----- Original Message -----
> From: "Milton M. Ota" <mota at hawaii.rr.com>
> To: "'NFB Webmaster's List'" <nfb-web at nfbnet.org>
> Sent: Tuesday, December 02, 2008 1:55 AM
> Subject: [Nfb-web] html script to load video
>
>
> > Anybody has an html script to that can be placed folowing the <body>
> > opening tag to load a video to stream in Windows Media Player.
> > file/video is a WMV file.
> >
> > Thanks in advance for any help.
> >
> > Milton Ota, Webmaster
> > committee on Automobile and Pedestrian Safety
> > National Federation of the Blind
> >
> > _______________________________________________
> > Nfb-web mailing list
> > Nfb-web at nfbnet.org
> > http://www.nfbnet.org/mailman/listinfo/nfb-web_nfbnet.org
> > To unsubscribe, change your list options or get your account info for
> > Nfb-web:
> >
> http://www.nfbnet.org/mailman/options/nfb-web_nfbnet.org/dbomer%40txwine
> t.com<http://www.nfbnet.org/mailman/options/nfb-web_nfbnet.org/dbomer%40txwinet.com>
> >
> >
>
>
> _______________________________________________
> Nfb-web mailing list
> Nfb-web at nfbnet.org
> http://www.nfbnet.org/mailman/listinfo/nfb-web_nfbnet.org
> To unsubscribe, change your list options or get your account info for
> Nfb-web:
> http://www.nfbnet.org/mailman/options/nfb-web_nfbnet.org/mota%40hawaii.r
> r.com<http://www.nfbnet.org/mailman/options/nfb-web_nfbnet.org/mota%40hawaii.rr.com>
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com
> Version: 8.0.176 / Virus Database: 270.9.13/1825 - Release Date:
> 12/2/2008 8:44 PM
>
>
> _______________________________________________
> Nfb-web mailing list
> Nfb-web at nfbnet.org
> http://www.nfbnet.org/mailman/listinfo/nfb-web_nfbnet.org
> To unsubscribe, change your list options or get your account info for
> Nfb-web:
>
> http://www.nfbnet.org/mailman/options/nfb-web_nfbnet.org/arnoldbail%40gmail.com
>



More information about the NFB-Web mailing list