You are here: Re: Adding a WMV to a web page « HTML « IT news, forums, messages
Re: Adding a WMV to a web page

Posted by code_wrong on 06/20/06 11:57

> code_wrong wrote:
>
>> "donh" <donhartuk@gmail.com> wrote in message
>> news:1150739222.254962.95980@u72g2000cwu.googlegroups.com...
>> > Hi,
>> >
>> > This might be basic but could someone please point me in the right
>> > direction on how to add a WMV movie to a web page.
>> >
>> > Any advice on the best way of doing this, as well as any things to be
>> > weary of would be greatly appreciated.
>> >
>> this looks useful:
>> http://www.ourmedia.org/node/5573 see below
>> One thing to consider: The user should have the choice whether he/she
>> will
>> download a large file. So maybe the embedding code below should be used
>> on a
>> linked page .. (i.e. you tell the user what they are about to download,
>> and
>> give them a link in case they want to follow it)
>> <object NAME="Player" WIDTH="320" HEIGHT="240" align="left" hspace="10"
>> type="application/x-oleobject"
>> CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
>>
>> <param NAME="URL" VALUE="yourfile.wmv><param>
>> <param NAME="AUTOSTART" VALUE="false"></param>
>> <param name="showControls" value="true"></param>
>>
>> <embed WIDTH="320" HEIGHT="240" align="left" hspace="10"
>> SRC="yourfile.wmv"
>> TYPE="application/x-oleobject" AUTOSTART="false">
>>
>> </embed>
>>
>> </object>
>
"donh" <donhartuk@gmail.com> wrote in message
news:1150802618.137317.244340@r2g2000cwb.googlegroups.com...
> Hi Me again,
>
> Tried your code and although the player loads my movie doesn't load/run
> when the play button is pressed. I have checked and I think I have
> done the pathname correctly. Any ideas what I might be doing wrong?
>
> Also followed link included and on second viewing of web page my
> browser just shows an empty white page?
>
> Thanks again for any help available.

aha .. looks like there are errors in that code try this:

<object NAME="Player" WIDTH="320" HEIGHT="240" align="left" hspace="10"
type="application/x-oleobject"
CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">

<param name="url" value="mywmv.wmv" />
<param url="autostart" value="false" />
<param name="showControls" value="true" />

<embed WIDTH="320" HEIGHT="240" align="left" hspace="10" SRC="mywmv.wmv"
TYPE="application/x-oleobject" AUTOSTART="false">

</embed>

</object>

That website appears to be blank now .. no idea what's going on there ..
maybe check it again later

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация