none
Embed Windows Media Player to html, there is a black frame before my video begins to play.

    Question

  • Hi,

    I am using Windows Media Player control in a web page.

    Just the similar one as the one on MSDN http://msdn.microsoft.com/en-us/library/windows/desktop/dd564350(v=vs.85).aspx.

    My question is, before my video playback, there is always a black screen at the beginning.

    I tried to print out the playState when PlayStateChange, and it was 0 when the black frame showed.( state 0 indicates a undefined state for Windows Media Player...)

    Is there any way to get rid of this weird behavior?

    This issue happens on Win7/Win8

    Thanks.

    Tuesday, April 22, 2014 10:02 AM