<script FOR="MediaPlayer1" EVENT="PlayStateChange(lOldState, lNewState)" LANGUAGE="JScript">
if(MediaPlayer1.playState==3)
{}

解决方案 »

  1.   

    Retrieves an integer that indicates the play state of the Media Bar player.SyntaxXML N/A 
    Scripting [ pps = ] mediaBar.playState Possible Valuespps Integer that receives the play state of the player. Can have one of the following possible values.0 The playback state is undefined. 
    1 Playback is stopped. 
    2 Playback is paused. 
    3 The player is playing a stream. 
    4 The player is scanning a stream forward. 
    5 The player is scanning a stream in reverse. 
    6 The player is buffering media. 
    7 The player is waiting for streaming data. 
    8 The player has reached the end of the media. 
    9 The player is preparing new media. 
    10 The player is ready to begin playback. 
     The property is read-only. The property has no default value.