Skip to content

Commit

Permalink
feat(mux-player-react): Remove commented out code (feat to force mino… (
Browse files Browse the repository at this point in the history
#890)

…r version bump).
  • Loading branch information
cjpillsbury authored Mar 20, 2024
1 parent d9d0985 commit 9d48804
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/mux-player-react/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ export type MuxPlayerProps = {
onError?: GenericEventListener<MuxPlayerElementEventMap['error']>;
onCuePointChange?: GenericEventListener<MuxPlayerElementEventMap['cuepointchange']>;
onCuePointsChange?: GenericEventListener<MuxPlayerElementEventMap['cuepointschange']>;
// onPlayerReady?: EventListener;
} & Partial<MuxMediaPropTypes> &
Partial<VideoApiAttributes>;

Expand Down Expand Up @@ -176,7 +175,6 @@ const usePlayer = (
onError,
onCuePointChange,
onCuePointsChange,
// onPlayerReady,
metadata,
tokens,
paused,
Expand Down Expand Up @@ -243,7 +241,6 @@ const usePlayer = (
useEventCallbackEffect('error', ref, onError);
useEventCallbackEffect('cuepointchange', ref, onCuePointChange);
useEventCallbackEffect('cuepointschange', ref, onCuePointsChange);
// useEventCallbackEffect('playerready', ref, onPlayerReady);
return [remainingProps];
};

Expand Down

0 comments on commit 9d48804

Please sign in to comment.