react-player
Advanced tools
Comparing version 0.19.0 to 0.19.1
@@ -7,2 +7,8 @@ # Change Log | ||
#### [v0.19.1](https://github.com/CookPete/react-player/compare/v0.19.0...v0.19.1) | ||
> 17 July 2017 | ||
* More accurate played fraction for Wistia [`#201`](https://github.com/CookPete/react-player/pull/201) | ||
#### [v0.19.0](https://github.com/CookPete/react-player/compare/v0.18.0...v0.19.0) | ||
@@ -9,0 +15,0 @@ > 13 July 2017 |
@@ -148,3 +148,3 @@ 'use strict'; | ||
if (!this.isReady || !this.player || !this.player.percentWatched) return null; | ||
return this.player.percentWatched(); | ||
return this.player.time() / this.player.duration(); | ||
} | ||
@@ -151,0 +151,0 @@ }, { |
{ | ||
"name": "react-player", | ||
"version": "0.19.0", | ||
"version": "0.19.1", | ||
"description": "A react component for playing a variety of URLs, including file paths, YouTube, Facebook, SoundCloud, Streamable, Vidme, Vimeo and Wistia", | ||
@@ -5,0 +5,0 @@ "main": "lib/ReactPlayer.js", |
Sorry, the diff of this file is too big to display
817805