wx.media.MediaEvent¶Event wx.media.MediaCtrl uses.
Events Emitted by this Class¶Handlers bound for the following event types will receive a wx.media.MediaEvent parameter.
wxEVT_MEDIA_LOADED event type.MEDIASTATE_STOPPED state. You may be able to Veto this event to prevent it from stopping, causing it to continue playing - even if it has reached that end of the media (note that this may not have the desired effect - if you want to loop the media, for example, catch the EVT_MEDIA_FINISHED and play there instead). Processes a wxEVT_MEDIA_STOP event type.wxEVT_MEDIA_FINISHED event type.wxEVT_MEDIA_STATECHANGED event type.MEDIASTATE_PLAYING state. Processes a wxEVT_MEDIA_PLAY event type.MEDIASTATE_PAUSED state. Processes a wxEVT_MEDIA_PAUSE event type.