Discussion:
wmp in form
(too old to reply)
Graham
2010-03-26 20:23:54 UTC
Permalink
I have a wmp object in my form. Is it possible to place a textbox
over top of the wmp object. Everytime I try to do it as soon as wmp
starts playing it covers the textbox. I have set the textbox to be
the top object and have tried setting zorder(0) on the textbox and
zorder(1) to the wmp object. What I am trying to do is overlay the
video with a transprent textbox.

Thanks in advance
Neil Smith [MVP Digital Media]
2010-03-28 16:54:59 UTC
Permalink
On Fri, 26 Mar 2010 13:23:54 -0700 (PDT), Graham
Post by Graham
I have a wmp object in my form. Is it possible to place a textbox
over top of the wmp object. Everytime I try to do it as soon as wmp
starts playing it covers the textbox. I have set the textbox to be
the top object and have tried setting zorder(0) on the textbox and
zorder(1) to the wmp object. What I am trying to do is overlay the
video with a transprent textbox.
Inside your object tags, place the followig parameter :

<param name="windowlessVideo" value="true" />

See http://msdn.microsoft.com/en-us/library/dd564092.aspx and this
page http://msdn.microsoft.com/en-us/library/dd563990.aspx for
embedding parameter values you can use.

The equivalent parameter for Flash player (for HTML/CSS markup
comparisons) is wmode="transparent"

HTH
Cheers - Neil
------------------------------------------------
Digital Media MVP : 2004-2010
http://mvp.support.microsoft.com/mvpfaqs
Graham
2010-03-30 18:53:52 UTC
Permalink
Thanks Neil
Graham
2010-03-30 23:02:22 UTC
Permalink
To add to the problem I changed the properties on the form to
windowless video=.t. (2 players one hidden behind the other so I can
control the fade in and out). Now to show the video after I play the
file I have to setfocus to each control otherwise there is no video
displayed. Seems like a wierd behaviour.
Post by Graham
Thanks Neil
Loading...