您的位置:首页 > 移动开发 > Objective-C

windows media player Object Model

2009-09-10 17:11 288 查看
Player Object Model

ActiveX uses the concept of objects to contain programming functionality. Windows Media Player uses several objects to divide up the functionality the control provides. The root object is the Player object, and the other objects are attached to the Player object through specific properties.

The following diagram shows how the Windows Media Player 10 ActiveX control object model works:

代码

<input type="button" value='播放' onclick="mediaPlayer.controls.play();">
<input type="button" value='暂停' onclick="mediaPlayer.controls.pause();">
<input type="button" value='停止' onclick="mediaPlayer.controls.stop();">
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: