Skip to content

Commit

Permalink
Update doc for MSE_ATTACHED event payload (video was missing from doc)
Browse files Browse the repository at this point in the history
  • Loading branch information
Axel Delmas committed Oct 20, 2015
1 parent a737615 commit 7d5ce8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion API.md
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ hls.on(Hls.Events.LEVEL_LOADED,function(event,data) {
full list of Events available below :
- `Hls.Events.MSE_ATTACHED` - fired when MediaSource has been succesfully attached to video element.
- data: { mediaSource }
- data: { video , mediaSource }
- `Hls.Events.MSE_DETACHED` - fired when MediaSource has been detached from video element.
- data: { }
- `Hls.Events.MANIFEST_LOADING` - fired to signal that a manifest loading starts
Expand Down
2 changes: 1 addition & 1 deletion src/events.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export default {
// fired when MediaSource has been succesfully attached to video element - data: { mediaSource }
// fired when MediaSource has been succesfully attached to video element - data: { video, mediaSource }
MSE_ATTACHED: 'hlsMediaSourceAttached',
// fired when MediaSource has been detached from video element - data: { }
MSE_DETACHED: 'hlsMediaSourceDetached',
Expand Down

0 comments on commit 7d5ce8c

Please sign in to comment.