Releases: SvenTiigi/YouTubePlayerKit
Releases · SvenTiigi/YouTubePlayerKit
Version 1.1.6
What's Changed
- Removed iOS 15.0 and macOS 12.0 availability checks for Swift Concurrency APIs as Xcode 13.2 and greater allows back deployment of the Swift Concurrency APIs from iOS 13.0 and macOS 10.15
Full Changelog: 1.1.5...1.1.6
Version 1.1.5
Version 1.1.4
What's Changed
- Fixed a bug where the YouTubePlayer View wasn't resized properly (#10)
- Refactored
player
property to be mutable onYouTubePlayerViewController
- Added
App Store Review
section to ReadMe (#12)
Full Changelog: 1.1.3...1.1.4
Version 1.1.3
What's Changed
- Improve initialization of some playback subjects by @Tibimac in #7
- Removed WKScriptMessageHandler and replaced JavaScript Event Callbacks via WKURLNavigation (#4)
Full Changelog: 1.1.2...1.1.3
Version 1.1.2
Version 1.1.1
Changes
- Updating the
source
of aYouTubePlayer
will automatically invoke theload(source:)
function - Updating the
configuration
of aYouTubePlayer
will automatically invoke theupdate(configuration:)
function - Added
auto
case toYouTubePlayer.PlaybackQuality
Added
showStatsForNerds()
function onYouTubePlayerVideoInformationAPI
to display advanced statistics about the currentYouTubePlayer
hideStatsForNerds()
function onYouTubePlayerVideoInformationAPI
to hide the advanced statisticsgetInformation(completion:)
function onYouTubePlayerVideoInformationAPI
to retrieve an object which contains all information about the currentYouTubePlayer
Version 1.1.0
Bug-Fixes
- Refactored success value for
getCurrentTime
andgetDuration
fromInt
toDouble
type which previously caused an error when trying to type-cast the JavaScript response value
Changes
- Renamed
YouTubePlayerLoadAPI
toYouTubePlayerQueueingAPI
- Renamed
captionsClosed
toshowCaptions
onYouTubePlayer.Configuration
- Renamed
color
toprogressBarColor
onYouTubePlayer.Configuration
- Renamed
YouTubePlayer.Configuration.Color
toYouTubePlayer.Configuration.ProgressBarColor
- Renamed
enableJsAPI
toenableJavaScriptAPI
onYouTubePlayer.Configuration
- Renamed
modestBranding
touseModestBranding
onYouTubePlayer.Configuration
Added
cue(source:)
function onYouTubePlayerQueueingAPI
allowsPictureInPictureMediaPlayback
onYouTubePlayer.Configuration
to enable or disable Picture-in-Picture modecurrentTimePublisher
onYouTubePlayerPlaybackAPI
videoLoadedFractionPublisher
onYouTubePlayerPlaybackAPI
playbackMetadataPublisher
onYouTubePlayerPlaybackAPI
durationPublisher
onYouTubePlayerVideoInformationAPI
Version 1.0.0
Initial release of YouTubePlayerKit 📺