From f4fe862670b8d0259743ecd9d7b237ac85eae0fb Mon Sep 17 00:00:00 2001 From: Pete Cook Date: Thu, 28 Sep 2017 21:51:35 +0100 Subject: [PATCH] Make getInternalPlayer more flexible Fixes https://github.com/CookPete/react-player/issues/238 --- README.md | 2 +- src/ReactPlayer.js | 4 ++-- src/players/FilePlayer.js | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index a2a36062..bedad3f0 100644 --- a/README.md +++ b/README.md @@ -209,7 +209,7 @@ Method | Description `seekTo(amount)` | Seek to the given number of seconds, or fraction if `amount` is between `0` and `1` `getCurrentTime()` | Returns the number of seconds that has been played
  ◦  Returns `null` if duration is unavailable `getDuration()` | Returns the duration (in seconds) of the currently playing media
  ◦  Returns `null` if duration is unavailable -`getInternalPlayer()` | Returns the internal player of whatever is currently playing
  ◦  eg the [YouTube player instance](https://developers.google.com/youtube/iframe_api_reference#Loading_a_Video_Player), or the [`