Neil Smith [MVP Digital M
Guest
|
Posted:
Wed Nov 02, 2005 1:30 pm Post subject:
Re: Hide - show Real player and WMP |
|
|
On Tue, 1 Nov 2005 12:40:08 -0800, "mark"
<mark@discussions.microsoft.com> wrote:
| Quote: | I need to put the Real Player and the Windows Media Player in the same
window. This two players have to stay in the same position. I have to use
them to view videos. If the video is in wmv format I need to activate the
Windows Media Player and if the video is in rm format the Real Player. How is
possible to hide one and show the other player? I've seen this kind of video
viewer but I can't understand how to do this.
|
I'd just use CSS with a clipping region and relative positioning
inside a container DIV. How much CSS and DHTML do you know ?
It's usually fairly simple to arrange, basically you'd set them to
share the same screen position (give each one a different z-index if
you prefer). Place each player inside a second container DIV which you
can control the display CSS property of.
Then in javascript you'd set the style="display: none" on the DOM
object you want to hide, and the style="display: block" on the one you
want to show,
| Quote: | Tell me too if this is the right place or if I have to post my question in
another forum.
|
This one's just fine.
HTH
Cheers - Neil |
|