Skip to content

Releases: SvenTiigi/YouTubePlayerKit

Version 1.1.6

26 Dec 09:33
Compare
Choose a tag to compare

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

08 Dec 16:17
Compare
Choose a tag to compare

What's Changed

  • Add host view for presenting outside of a view controller by @dskuza in #15

New Contributors

Full Changelog: 1.1.4...1.1.5

Version 1.1.4

09 Nov 11:45
Compare
Choose a tag to compare

What's Changed

  • Fixed a bug where the YouTubePlayer View wasn't resized properly (#10)
  • Refactored player property to be mutable on YouTubePlayerViewController
  • Added App Store Review section to ReadMe (#12)

Full Changelog: 1.1.3...1.1.4

Version 1.1.3

03 Nov 22:12
Compare
Choose a tag to compare

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

17 Oct 20:57
Compare
Choose a tag to compare

What's Changed

  • Fix seek function by @Tibimac in #5
  • Update example application (#3)

Version 1.1.1

29 Sep 16:19
Compare
Choose a tag to compare

Changes

  • Updating the source of a YouTubePlayer will automatically invoke the load(source:) function
  • Updating the configuration of a YouTubePlayer will automatically invoke the update(configuration:) function
  • Added auto case to YouTubePlayer.PlaybackQuality

Added

  • showStatsForNerds() function on YouTubePlayerVideoInformationAPI to display advanced statistics about the current YouTubePlayer
  • hideStatsForNerds() function on YouTubePlayerVideoInformationAPI to hide the advanced statistics
  • getInformation(completion:) function on YouTubePlayerVideoInformationAPI to retrieve an object which contains all information about the current YouTubePlayer

Version 1.1.0

28 Sep 16:48
Compare
Choose a tag to compare

Bug-Fixes

  • Refactored success value for getCurrentTime and getDuration from Int to Double type which previously caused an error when trying to type-cast the JavaScript response value

Changes

  • Renamed YouTubePlayerLoadAPI to YouTubePlayerQueueingAPI
  • Renamed captionsClosed to showCaptions on YouTubePlayer.Configuration
  • Renamed color to progressBarColor on YouTubePlayer.Configuration
  • Renamed YouTubePlayer.Configuration.Color to YouTubePlayer.Configuration.ProgressBarColor
  • Renamed enableJsAPI to enableJavaScriptAPI on YouTubePlayer.Configuration
  • Renamed modestBranding to useModestBranding on YouTubePlayer.Configuration

Added

  • cue(source:) function on YouTubePlayerQueueingAPI
  • allowsPictureInPictureMediaPlayback on YouTubePlayer.Configuration to enable or disable Picture-in-Picture mode
  • currentTimePublisher on YouTubePlayerPlaybackAPI
  • videoLoadedFractionPublisher on YouTubePlayerPlaybackAPI
  • playbackMetadataPublisher on YouTubePlayerPlaybackAPI
  • durationPublisher on YouTubePlayerVideoInformationAPI

Version 1.0.0

26 Sep 09:11
7f5e23e
Compare
Choose a tag to compare

Initial release of YouTubePlayerKit 📺