mediaplayer播放停止后显示图片一张 程序解决办法

mediaplayer播放停止后显示图片一张程序if mediaplayer1.......thenimage1.visable;判断语句怎么写[解决办

mediaplayer播放停止后显示图片一张 程序
if mediaplayer1....... then
  image1.visable;
  判断语句怎么写

[解决办法]
用TMediaPlayer控件的Mode属性就能够判断
播放完毕时Mode属性的值为mpStopped

[解决办法]
PlayStateChange事件里

if if NewState = 0 then 
begin
showmessage('放完了');
image1...
end;