Skip to content

v2.0.0-beta.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@davidohayon669 davidohayon669 released this 11 Sep 14:50
· 43 commits to master since this release

What's new

  • iOS now uses YoutubePlayer-in-WKWebView as a Cocoapods native dependency. This is a fork of the original Google library that upgraded to a WebKit WebView and seems to be well maintained. Functionality and behaviour SHOULD remain similar.
  • Android implements a mechanism that periodically refreshes the native players' controls (c9a0c38), so they always display correct. (#362, #354, #349, #131)

Breaking Changes

  • videosIndex(), currentTime(), and duration() were renamed to getVideosIndex(), getCurrentTime(), and getDuration()
  • onProgress event (iOS) doe's not return e.duration anymore, use getDuration() to get the duration of the currently playing video