Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
media
danimation.controls
danimation.programming
devices
drm
dshow.programming
dtransform
encoder
encoder.optimization
hometheaterpc
media
media.beta
media.beta.encoder
mediacenter
mediacenter.portable
mediaplayer
music.products
musicproducer
player
player.plugins
player.skins
player.solaris
player.visualizations
player.web
sdk
server
tools
  
 
date: Thu, 3 Jan 2008 07:30:02 -0800,    group: microsoft.public.windowsmedia.player.web        back       


Movie Maker show black box on web   
It works good on my computer,and uploaded properly. When i put the .wmv on my 
website, it comes out a black box. i have to click the black box and wait. 
Eventualy the movie shows from the black box. The codes i used on my website 
are below.
Is there anybody there who can help me? It would be greatly appreciated. 
Thank you very much.

<object classid="clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95" 
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112" height="220" width="240">
<param name="filename" value="video4.wmv" />
<param name="autostart" value="false" />
<param name="showcontrols" value="showcontrols" />Your Web browser does not 
support object plays a video of Lisalk/s video.
</object>
date: Thu, 3 Jan 2008 07:30:02 -0800   author:   jklk

Re: Movie Maker show black box on web   
240 wide by 220 high is a pretty odd size ratio. The player needs 40
pixels of height to display the UI controls if they're showing
(although the code below indicates not to show them, it's very very
old embedding code and may not work in all players)

My guess is the player interprets the layout as "fit as best you can"
and the aspect ratio of the video if it's standard TV size at 4:3
ratio would mean you expect the video to be 240 wide by 180 high.

That would leave 20 pixels top and bottom if the video is stretched to
the width (but not the height) of the display area.

HTH
Cheers - Neil

On Thu, 3 Jan 2008 07:30:02 -0800, jklk
 wrote:

>It works good on my computer,and uploaded properly. When i put the .wmv on my 
>website, it comes out a black box. i have to click the black box and wait. 
>Eventualy the movie shows from the black box. The codes i used on my website 
>are below.
>Is there anybody there who can help me? It would be greatly appreciated. 
>Thank you very much.
>
><object classid="clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95" 
>codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112" height="220" width="240">
><param name="filename" value="video4.wmv" />
><param name="autostart" value="false" />
><param name="showcontrols" value="showcontrols" />Your Web browser does not 
>support object plays a video of Lisalk/s video.
></object>
>
>
------------------------------------------------
Digital Media MVP : 2004-2008
http://mvp.support.microsoft.com/mvpfaqs
date: Thu, 03 Jan 2008 21:23:55 GMT   author:   Neil Smith [MVP Digital Media]

Re: Movie Maker show black box on web   
Hi Neil,
Yes, these are old codes from an html book 3years ago.
1. Should i change the size to 240 wide & 180 high?
2. i know my knowledge is very limited about html. Could you please tell me 
the better codes or ways to play my .wmv on my website, so my friends and 
family can see my videos.
Thank you again.

"Neil Smith [MVP Digital Media]" wrote:

> 240 wide by 220 high is a pretty odd size ratio. The player needs 40
> pixels of height to display the UI controls if they're showing
> (although the code below indicates not to show them, it's very very
> old embedding code and may not work in all players)
> 
> My guess is the player interprets the layout as "fit as best you can"
> and the aspect ratio of the video if it's standard TV size at 4:3
> ratio would mean you expect the video to be 240 wide by 180 high.
> 
> That would leave 20 pixels top and bottom if the video is stretched to
> the width (but not the height) of the display area.
> 
> HTH
> Cheers - Neil
> 
> On Thu, 3 Jan 2008 07:30:02 -0800, jklk
>  wrote:
> 
> >It works good on my computer,and uploaded properly. When i put the .wmv on my 
> >website, it comes out a black box. i have to click the black box and wait. 
> >Eventualy the movie shows from the black box. The codes i used on my website 
> >are below.
> >Is there anybody there who can help me? It would be greatly appreciated. 
> >Thank you very much.
> >
> ><object classid="clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95" 
> >codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112" height="220" width="240">
> ><param name="filename" value="video4.wmv" />
> ><param name="autostart" value="false" />
> ><param name="showcontrols" value="showcontrols" />Your Web browser does not 
> >support object plays a video of Lisalk/s video.
> ></object>
> >
> >
> ------------------------------------------------
> Digital Media MVP : 2004-2008
> http://mvp.support.microsoft.com/mvpfaqs
>
date: Sat, 5 Jan 2008 05:23:01 -0800   author:   jklk

Re: Movie Maker show black box on web   
On Sat, 5 Jan 2008 05:23:01 -0800, jklk
 wrote:

>Hi Neil,
>Yes, these are old codes from an html book 3years ago.


You really really need to be using thew appropriate CLSID and
embedding code, over 6 years ago now WMP7 was introduced with a
different enbedding code and yet I still see people coding for (and
recommending coding for) WMP6.4 embedding control.

You should be using code at least close to this :
http://msdn2.microsoft.com/en-us/library/ms983653.aspx#using_the_version_7_control__ptvj

>1. Should i change the size to 240 wide & 180 high?

No, well it depends on the size of the video doesn't it ? 
I guessed at the size from the expected aspect ratio and width.

You typically need to find out the video dimensions (eg from inside
media player File -> Properties), using the specified width and
optionally adding 40 pixels if you display playback controls eg by
default, or when specifying <param name="uimode" value="mini" /> or
<param name="uimode" value="full" />


>2. i know my knowledge is very limited about html. Could you please tell me 
>the better codes or ways to play my .wmv on my website, so my friends and 
>family can see my videos.

These pages list the available <param /> HTML elements used inside the
<object /> HTML element, and have additional notes about Firefox :
http://msdn2.microsoft.com/en-us/library/bb614511(VS.85).aspx
http://msdn2.microsoft.com/en-us/library/bb614515(VS.85).aspx

If your intended viewers have firefox (about 20% of web users now)
then you'd want to put a link next to the video for them, making sure
they know about the Firefox port 25 plugin if they can't see the video
http://port25.technet.com/pages/windows-media-player-firefox-plugin-download.aspx


HTH
Cheers - Neil

>Thank you again.
>
>"Neil Smith [MVP Digital Media]" wrote:
>
>> 240 wide by 220 high is a pretty odd size ratio. The player needs 40
>> pixels of height to display the UI controls if they're showing
>> (although the code below indicates not to show them, it's very very
>> old embedding code and may not work in all players)
>> 
>> My guess is the player interprets the layout as "fit as best you can"
>> and the aspect ratio of the video if it's standard TV size at 4:3
>> ratio would mean you expect the video to be 240 wide by 180 high.
>> 
>> That would leave 20 pixels top and bottom if the video is stretched to
>> the width (but not the height) of the display area.
>> 
>> HTH
>> Cheers - Neil
>> 
>> On Thu, 3 Jan 2008 07:30:02 -0800, jklk
>>  wrote:
>> 
>> >It works good on my computer,and uploaded properly. When i put the .wmv on my 
>> >website, it comes out a black box. i have to click the black box and wait. 
>> >Eventualy the movie shows from the black box. The codes i used on my website 
>> >are below.
>> >Is there anybody there who can help me? It would be greatly appreciated. 
>> >Thank you very much.
>> >
>> ><object classid="clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95" 
>> >codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112" height="220" width="240">
>> ><param name="filename" value="video4.wmv" />
>> ><param name="autostart" value="false" />
>> ><param name="showcontrols" value="showcontrols" />Your Web browser does not 
>> >support object plays a video of Lisalk/s video.
>> ></object>
>> >
>> >
>> ------------------------------------------------
>> Digital Media MVP : 2004-2008
>> http://mvp.support.microsoft.com/mvpfaqs
>> 
------------------------------------------------
Digital Media MVP : 2004-2008
http://mvp.support.microsoft.com/mvpfaqs
date: Sat, 05 Jan 2008 18:09:28 GMT   author:   Neil Smith [MVP Digital Media]

Re: Movie Maker show black box on web   
Hi Neil,
Thank you VERY MUCH for your quick response. i have been trying to fix the 
problem for so many months.
i have XP home edition & WMP 11 version.
My questions are:
1. dimension 320width 240 high, 357kbps, duration: 02:53 size 7.08mb
2. dimension 640width 480 high, 1140kbps, duration: 02:53 size 22.7mb
--same video, what is the difference to put on the website?
3. What does this mean:
"Leave 20 pixels top and bottom if the video is stretched to the width?
4. i used the codes below, it works better and faster. but if i put  <PARAM 
NAME="autoStart" VALUE="false">
the black box is still there?
Neil, this is my hobby, so when i have time i'll check back with you.
Thank you again!
<OBJECT
  ID="mediaPlayer"
  CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
  CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/
    nsmp2inf.cab#Version=5,1,52,701" 

  STANDBY="Loading Microsoft Windows Media Player components..."
  TYPE="application/x-oleobject">
  <PARAM NAME="filename" VALUE="07Anniversary.wmv">
  
  <PARAM NAME="autoStart" VALUE="false">
  <PARAM NAME="showControls" VALUE="showControls">
</center></OBJECT>

"Neil Smith [MVP Digital Media]" wrote:

> On Sat, 5 Jan 2008 05:23:01 -0800, jklk
>  wrote:
> 
> >Hi Neil,
> >Yes, these are old codes from an html book 3years ago.
> 
> 
> You really really need to be using thew appropriate CLSID and
> embedding code, over 6 years ago now WMP7 was introduced with a
> different enbedding code and yet I still see people coding for (and
> recommending coding for) WMP6.4 embedding control.
> 
> You should be using code at least close to this :
> http://msdn2.microsoft.com/en-us/library/ms983653.aspx#using_the_version_7_control__ptvj
> 
> >1. Should i change the size to 240 wide & 180 high?
> 
> No, well it depends on the size of the video doesn't it ? 
> I guessed at the size from the expected aspect ratio and width.
> 
> You typically need to find out the video dimensions (eg from inside
> media player File -> Properties), using the specified width and
> optionally adding 40 pixels if you display playback controls eg by
> default, or when specifying <param name="uimode" value="mini" /> or
> <param name="uimode" value="full" />
> 
> 
> >2. i know my knowledge is very limited about html. Could you please tell me 
> >the better codes or ways to play my .wmv on my website, so my friends and 
> >family can see my videos.
> 
> These pages list the available <param /> HTML elements used inside the
> <object /> HTML element, and have additional notes about Firefox :
> http://msdn2.microsoft.com/en-us/library/bb614511(VS.85).aspx
> http://msdn2.microsoft.com/en-us/library/bb614515(VS.85).aspx
> 
> If your intended viewers have firefox (about 20% of web users now)
> then you'd want to put a link next to the video for them, making sure
> they know about the Firefox port 25 plugin if they can't see the video
> http://port25.technet.com/pages/windows-media-player-firefox-plugin-download.aspx
> 
> 
> HTH
> Cheers - Neil
> 
> >Thank you again.
> >
> >"Neil Smith [MVP Digital Media]" wrote:
> >
> >> 240 wide by 220 high is a pretty odd size ratio. The player needs 40
> >> pixels of height to display the UI controls if they're showing
> >> (although the code below indicates not to show them, it's very very
> >> old embedding code and may not work in all players)
> >> 
> >> My guess is the player interprets the layout as "fit as best you can"
> >> and the aspect ratio of the video if it's standard TV size at 4:3
> >> ratio would mean you expect the video to be 240 wide by 180 high.
> >> 
> >> That would leave 20 pixels top and bottom if the video is stretched to
> >> the width (but not the height) of the display area.
> >> 
> >> HTH
> >> Cheers - Neil
> >> 
> >> On Thu, 3 Jan 2008 07:30:02 -0800, jklk
> >>  wrote:
> >> 
> >> >It works good on my computer,and uploaded properly. When i put the .wmv on my 
> >> >website, it comes out a black box. i have to click the black box and wait. 
> >> >Eventualy the movie shows from the black box. The codes i used on my website 
> >> >are below.
> >> >Is there anybody there who can help me? It would be greatly appreciated. 
> >> >Thank you very much.
> >> >
> >> ><object classid="clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95" 
> >> >codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112" height="220" width="240">
> >> ><param name="filename" value="video4.wmv" />
> >> ><param name="autostart" value="false" />
> >> ><param name="showcontrols" value="showcontrols" />Your Web browser does not 
> >> >support object plays a video of Lisalk/s video.
> >> ></object>
> >> >
> >> >
> >> ------------------------------------------------
> >> Digital Media MVP : 2004-2008
> >> http://mvp.support.microsoft.com/mvpfaqs
> >> 
> ------------------------------------------------
> Digital Media MVP : 2004-2008
> http://mvp.support.microsoft.com/mvpfaqs
>
date: Tue, 8 Jan 2008 05:46:04 -0800   author:   jklk

Re: Movie Maker show black box on web   
I'm not sure what questions 1-4 are intended to apply to, they don't
appear to be questions (or correspond to the original post)

Did you have chance to review the page I posted ?
http://msdn2.microsoft.com/en-us/library/ms983653.aspx#using_the_version_7_control__ptvj

That's the correct object CLSID you need to use, I don't really
discuss the WMP6.4 control beginning CLSID:22... for other than
historical reasons since there's no reason at all to be using it - and
it just clouds the issue if I discuss settings which it uses but are
no longer available in WMP7 - 11

Cheers - Neil

On Tue, 8 Jan 2008 05:46:04 -0800, jklk
 wrote:

>Hi Neil,
>Thank you VERY MUCH for your quick response. i have been trying to fix the 
>problem for so many months.
>i have XP home edition & WMP 11 version.
>My questions are:
>1. dimension 320width 240 high, 357kbps, duration: 02:53 size 7.08mb
>2. dimension 640width 480 high, 1140kbps, duration: 02:53 size 22.7mb
>--same video, what is the difference to put on the website?
>3. What does this mean:
>"Leave 20 pixels top and bottom if the video is stretched to the width?
>4. i used the codes below, it works better and faster. but if i put  <PARAM 
>NAME="autoStart" VALUE="false">
>the black box is still there?
>Neil, this is my hobby, so when i have time i'll check back with you.
>Thank you again!
><OBJECT
>  ID="mediaPlayer"
>  CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
>  CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/
>    nsmp2inf.cab#Version=5,1,52,701" 
>
>  STANDBY="Loading Microsoft Windows Media Player components..."
>  TYPE="application/x-oleobject">
>  <PARAM NAME="filename" VALUE="07Anniversary.wmv">
>  
>  <PARAM NAME="autoStart" VALUE="false">
>  <PARAM NAME="showControls" VALUE="showControls">
></center></OBJECT>
>
>"Neil Smith [MVP Digital Media]" wrote:
>
>> On Sat, 5 Jan 2008 05:23:01 -0800, jklk
>>  wrote:
>> 
>> >Hi Neil,
>> >Yes, these are old codes from an html book 3years ago.
>> 
>> 
>> You really really need to be using thew appropriate CLSID and
>> embedding code, over 6 years ago now WMP7 was introduced with a
>> different enbedding code and yet I still see people coding for (and
>> recommending coding for) WMP6.4 embedding control.
>> 
>> You should be using code at least close to this :
>> http://msdn2.microsoft.com/en-us/library/ms983653.aspx#using_the_version_7_control__ptvj
>> 
>> >1. Should i change the size to 240 wide & 180 high?
>> 
>> No, well it depends on the size of the video doesn't it ? 
>> I guessed at the size from the expected aspect ratio and width.
>> 
>> You typically need to find out the video dimensions (eg from inside
>> media player File -> Properties), using the specified width and
>> optionally adding 40 pixels if you display playback controls eg by
>> default, or when specifying <param name="uimode" value="mini" /> or
>> <param name="uimode" value="full" />
>> 
>> 
>> >2. i know my knowledge is very limited about html. Could you please tell me 
>> >the better codes or ways to play my .wmv on my website, so my friends and 
>> >family can see my videos.
>> 
>> These pages list the available <param /> HTML elements used inside the
>> <object /> HTML element, and have additional notes about Firefox :
>> http://msdn2.microsoft.com/en-us/library/bb614511(VS.85).aspx
>> http://msdn2.microsoft.com/en-us/library/bb614515(VS.85).aspx
>> 
>> If your intended viewers have firefox (about 20% of web users now)
>> then you'd want to put a link next to the video for them, making sure
>> they know about the Firefox port 25 plugin if they can't see the video
>> http://port25.technet.com/pages/windows-media-player-firefox-plugin-download.aspx
>> 
>> 
>> HTH
>> Cheers - Neil
>> 
>> >Thank you again.
>> >
>> >"Neil Smith [MVP Digital Media]" wrote:
>> >
>> >> 240 wide by 220 high is a pretty odd size ratio. The player needs 40
>> >> pixels of height to display the UI controls if they're showing
>> >> (although the code below indicates not to show them, it's very very
>> >> old embedding code and may not work in all players)
>> >> 
>> >> My guess is the player interprets the layout as "fit as best you can"
>> >> and the aspect ratio of the video if it's standard TV size at 4:3
>> >> ratio would mean you expect the video to be 240 wide by 180 high.
>> >> 
>> >> That would leave 20 pixels top and bottom if the video is stretched to
>> >> the width (but not the height) of the display area.
>> >> 
>> >> HTH
>> >> Cheers - Neil
>> >> 
>> >> On Thu, 3 Jan 2008 07:30:02 -0800, jklk
>> >>  wrote:
>> >> 
>> >> >It works good on my computer,and uploaded properly. When i put the .wmv on my 
>> >> >website, it comes out a black box. i have to click the black box and wait. 
>> >> >Eventualy the movie shows from the black box. The codes i used on my website 
>> >> >are below.
>> >> >Is there anybody there who can help me? It would be greatly appreciated. 
>> >> >Thank you very much.
>> >> >
>> >> ><object classid="clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95" 
>> >> >codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112" height="220" width="240">
>> >> ><param name="filename" value="video4.wmv" />
>> >> ><param name="autostart" value="false" />
>> >> ><param name="showcontrols" value="showcontrols" />Your Web browser does not 
>> >> >support object plays a video of Lisalk/s video.
>> >> ></object>
>> >> >
>> >> >
>> >> ------------------------------------------------
>> >> Digital Media MVP : 2004-2008
>> >> http://mvp.support.microsoft.com/mvpfaqs
>> >> 
>> ------------------------------------------------
>> Digital Media MVP : 2004-2008
>> http://mvp.support.microsoft.com/mvpfaqs
>> 
------------------------------------------------
Digital Media MVP : 2004-2008
http://mvp.support.microsoft.com/mvpfaqs
date: Tue, 08 Jan 2008 21:05:52 GMT   author:   Neil Smith [MVP Digital Media]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us