windowsmediaplay控件不是delphi自带哪个,如何播放停止,急用,在线等!救我啊!
解决方案 »
- DBGridEh编辑状态下直接post
- 在动态库中使用IdTCPClient与IdTCPServer通讯的问题。
- 一个技术群:14857829
- 关于点击ListView进行排序的问题
- socket客户端发送问题
- 使用TListView控件时发生屏蔽键盘的怪现象,请高手指教。
- 一个关于神龙五代dspack控件包的问题~
- 为什么没有人回答?
- "非典"过后,一种面向对像的病毒出来了!请大家注意!注意:(200分)
- 请教高手:ADOConnection 连接问题 ...请多多指教,在线等...
- 为什么要使用面向对象的方法?(why use OO methodology?)
- 怎么把JPEG、BMP转化为TIFF?
mediaplay.play;//播放
mediaPlay.stop;//停止
mediaplayer1.stop;//停止
mediaplayer1.play;//播放
mediaplayer1.filename='你要播放的东东'
mediaplayer1.pause;//暂停
mediaplayer1.stop;//停止
mediaplayer1.play;//播放
mediaplayer.controls.play;
mediaplayer.controls.pause;
...
Pause btPause Pauses playing or recording. If already paused when clicked, resumes playing or recording.
Stop btStop Stops playing or recording
Next btNext Skips to the next track, or to the end if the medium doesn抰 use tracks
Prev btPrev Skips to the previous track, or to the beginning if the medium doesn抰 use tracks
Step btStep Moves forward a number of frames
Back btBack Moves backward a number of framesRecord btRecord Starts recording
Eject btEject Ejects the mediumThe multimedia device is played, paused, stopped, and so on when the user clicks the corresponding button on the TMediaPlayer component. The device can also be controlled by the control methods that correspond to the buttons (Play, Pause, Stop, Next, Previous, Step, Back, StartRecording, and Eject).The type of multimedia device (such as dtWaveAudio or dtVideodisc) is specified by the DeviceType property. If the device stores its media in a file, the name of the media file is specified by the FileName property. If DeviceType is dtAutoSelect, the media player attempts to determine the type of device from the extension of the file specified by FileName.To have the media player attempt to open the device specified by DeviceType automatically when the media player component is created at runtime, set the AutoOpen property to true.
mediaplayer1.filename='你要播放的东东'
mediaplayer1.pause;//暂停
mediaplayer1.stop;//停止
mediaplayer1.play;//播放
mediaplayer1.open ;//打开设备
mediaplayer1.stop;
mediaplayer1.play;