Skip to content

Commit

Permalink
fix: Fixed MediaPlayer support react-player v0.20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
myxvisual committed Aug 8, 2017
1 parent 7212886 commit 131d497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MediaPlayer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import * as RPlayer from "react-player";

import Control from "./Control";

const ReactPlayer = RPlayer as any;
const ReactPlayer = RPlayer.default as any;

export interface DataProps {
/**
Expand Down

0 comments on commit 131d497

Please sign in to comment.