1
Vote

PlaceholderSource appears and fades to black

description

I'm using the Media Player as follows
 
    With MediaPlayer1
        .AutoPlay = False
        .ScaleMode = System.Web.UI.SilverlightControls.ScaleMode.Zoom
        .MediaSource = "trailers/wolftrapping.wmv"
        .PlaceholderSource = "~/trailers/wolftrapping.jpg"
        .Width = 280
        .Height = 210
        .MediaSkinSource = "~/MediaPlayerSkins/Console.xaml"
    End With
 
But when I load the page, the PlaceholderSource appears for less than a second and then fades to black. How can I keep the image as long as the video is not playing?

comments

rockinthesix wrote Dec 4, 2009 at 5:41 PM

Ok so the placeholder source is only on screen when AutoLoad = False.

So new question... How can we make the whole surface a "click to play" when AutoLoad= false

wrote Feb 14, 2013 at 7:48 PM