From bb25f8d02aaab67506b08b41cc2b3f443cf7fb07 Mon Sep 17 00:00:00 2001 From: Sam Potts Date: Tue, 19 Jan 2016 00:41:30 +1100 Subject: [PATCH] Removed broken links --- readme.md | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/readme.md b/readme.md index 088944f7..e8a5ee49 100644 --- a/readme.md +++ b/readme.md @@ -613,19 +613,19 @@ You can listen for events on the element you setup Plyr on. Some events only app - canplay + canplay ✔ - Sent when enough data is available that the media can be played, at least for a couple of frames.  This corresponds to the HAVE_ENOUGH_DATA readyState. + Sent when enough data is available that the media can be played, at least for a couple of frames. This corresponds to the HAVE_ENOUGH_DATA readyState. - canplaythrough + canplaythrough Sent when the ready state changes to CAN_PLAY_THROUGH, indicating that the entire media can be played without interruption, assuming the download rate remains at least at the current level. Note: Manually setting the currentTime will eventually fire a canplaythrough event in firefox. Other browsers might not fire this event. - emptied + emptied ✔ - The media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it. + The media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it. ended @@ -635,70 +635,70 @@ You can listen for events on the element you setup Plyr on. Some events only app error ✔ - Sent when an error occurs.  The element's error attribute contains more information. See Error handling for details. + Sent when an error occurs.  The element's error attribute contains more information. - loadeddata + loadeddata/code> ✔ The first frame of the media has finished loading. - loadedmetadata + loadedmetadata ✔ The media's metadata has finished loading; all attributes now contain as much useful information as they're going to. - loadstart + loadstart ✔ Sent when loading of the media begins. - pause + pause Sent when playback is paused. - play + play Sent when playback of the media starts after having been paused; that is, when playback is resumed after a prior pause event. - playing + playing Sent when the media begins to play (either for the first time, after having been paused, or after ending and then restarting). - progress + progress Sent periodically to inform interested parties of progress downloading the media. Information about the current amount of the media that has been downloaded is available in the media element's buffered attribute. - seeked + seeked ✔ Sent when a seek operation completes. - seeking + seeking ✔ Sent when a seek operation begins. - stalled + stalled ✔ Sent when the user agent is trying to fetch media data, but data is unexpectedly not forthcoming. - timeupdate + timeupdate The time indicated by the element's currentTime attribute has changed. - volumechange + volumechange Sent when the audio volume changes (both when the volume is set and when the muted attribute is changed). - waiting + waiting ✔ Sent when the requested operation (such as playback) is delayed pending the completion of another operation (such as a seek). @@ -725,6 +725,8 @@ You can listen for events on the element you setup Plyr on. Some events only app +Details borrowed from: [https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Media_events](https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Media_events) + Here's an example of binding an event listener: ```javascript