v2.0.0-beta.2
Pre-release
Pre-release
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()
, andduration()
were renamed togetVideosIndex()
,getCurrentTime()
, andgetDuration()
onProgress
event (iOS) doe's not returne.duration
anymore, usegetDuration()
to get the duration of the currently playing video