You want the media player to provide feedback in response to certain events. An example is displaying the text “Paused” on the screen when the media player’s
paused event is triggered.
You can use many media event handler methods. Shown in Table 3-3 are all the possible media events that are raised to allow the developer to attach
The following code will present to the user a text “Paused” with “Duration” with a decimal of milliseconds which is overlaid on top ...