The play method causes the current media item to start playing, or resumes play of a paused item.
This method has no parameters.
This method does not return a value.
If this method is called while fast-forwarding or rewinding, the value of Settings.rate is set to 1.0.
The following example creates an HTML BUTTON element that uses play to play the current media item. The Player object was created with ID = "Player".
<INPUT TYPE = "BUTTON" ID = "PLAY" NAME = "PLAY" VALUE = "Play" onClick = " /* Check first to be sure the operation is valid. */ if (Player.controls.isAvailable('Play')) /* Start playback. */ Player.controls.play(); ">
||Windows Media Player version 7.0 or later.