Asim Zaidi
Asim Zaidi

Reputation: 28334

silverlight media play stop state

I am using SMF silverlight media player. I am using the following code to get me the current volume on player

this.item = function(){
        alert(this.player.GetVolume());
    }

which works fine but I also want the current status of the media. Whats the property for that. I didn't see that in API docs

thanks

Upvotes: 3

Views: 345

Answers (1)

CodeNaked
CodeNaked

Reputation: 41403

I believe you want the PlayState property, which is of type MediaPluginState and can be one of these values:

  • Closed
  • Opening
  • Buffering
  • Playing
  • Paused
  • Stopped
  • Individualizing
  • AcquiringLicense
  • ClipPlaying

Upvotes: 1

Related Questions