Hide - show Real player and WMP
WMPTalk.com Forum Index WMPTalk.com
Discuss Windows Media Player
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web wmptalk.com
Hide - show Real player and WMP

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> Windows Media on Web
Author Message
mark
Guest





Posted: Tue Nov 01, 2005 9:30 pm    Post subject: Hide - show Real player and WMP Reply with 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.

Tell me too if this is the right place or if I have to post my question in
another forum.

Thanks

Back to top
Neil Smith [MVP Digital M
Guest





Posted: Wed Nov 02, 2005 1:30 pm    Post subject: Re: Hide - show Real player and WMP Reply with quote

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
Back to top
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> Windows Media on Web All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Microsoft Office Forum New Topics
Powered by phpBB