Embedding Window Media Player into Web Form

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: John Hoffman (anonymous_at_discussions.microsoft.com)
Date: 05/27/04


Date: Thu, 27 May 2004 10:16:06 -0700

Hello,

I have dragged a WMP control onto an asp web form. I go to the HTML and manually enter a URL and when I view in a browser, everything works well.
Question is, how do I get at the control on a Page Load in C#? On the properties page I give the ID as Player1 but in the code-behind nothing appears??

Can this be done or do I have to resort to Client side scripting to control WMP??

Thanks,

John Hoffman
 



Relevant Pages

  • How to keep WindoesMediaPlayer muted
    ... I have a problem keeping a WindowsMeidaPlayer control muted, ... The WMP control plays the playlist all the time while the program ... the sound from the WMP control on ... Private Sub Form1_Load(ByVal sender As System.Object, ...
    (microsoft.public.dotnet.languages.vb)
  • How to keep WindoesMediaPlayer muted
    ... I have a problem keeping a WindowsMeidaPlayer control muted, ... The WMP control plays the playlist all the time while the program ... the sound from the WMP control on ... Private Sub Form1_Load(ByVal sender As System.Object, ...
    (microsoft.public.dotnet.languages.vb)
  • Re: VB6, media player and file locked
    ... I'm Maurizio from Italy and I have a question about a problem. ... i'm using a Windows media player control (by adding a component, ... Duration = WMP.CurrentMedia.Duration ' duration is a Double type var ... then, when I close the form, I stop the WMP control and I close it ...
    (microsoft.public.vb.general.discussion)
  • Re: Future WMP object model directions?
    ... WMP control, and it did not work at all. ... skin, and I could play the file and do everything else using the skin ... > remote instance of the control and use a skin as the UI you can get EQ ...
    (microsoft.public.windowsmedia.sdk)
  • Re: Windows Media Player background color
    ... color, not the zone displaing clip, author, copyright, etc. ... Imagine you're using WMP Control on a form having different color (lets say ... OK in that case you'll have to create the player "skin" using a series ...
    (microsoft.public.windowsmedia.player)