YouTubePlayerKit

A Swift Package to easily play YouTube videos 📺

MIT License

Stars
693
Committers
9

Bot releases are visible (Hide)

YouTubePlayerKit - Version 1.1.6

Published by SvenTiigi almost 3 years ago

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: https://github.com/SvenTiigi/YouTubePlayerKit/compare/1.1.5...1.1.6

YouTubePlayerKit - Version 1.1.5

Published by SvenTiigi almost 3 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/SvenTiigi/YouTubePlayerKit/compare/1.1.4...1.1.5

YouTubePlayerKit - Version 1.1.4

Published by SvenTiigi almost 3 years ago

What's Changed

Full Changelog: https://github.com/SvenTiigi/YouTubePlayerKit/compare/1.1.3...1.1.4

YouTubePlayerKit - Version 1.1.3

Published by SvenTiigi almost 3 years ago

What's Changed

Full Changelog: https://github.com/SvenTiigi/YouTubePlayerKit/compare/1.1.2...1.1.3

YouTubePlayerKit - Version 1.1.2

Published by SvenTiigi about 3 years ago

What's Changed

YouTubePlayerKit - Version 1.1.1

Published by SvenTiigi about 3 years ago

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
YouTubePlayerKit - Version 1.1.0

Published by SvenTiigi about 3 years ago

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
YouTubePlayerKit - Version 1.0.0

Published by SvenTiigi about 3 years ago

Initial release of YouTubePlayerKit 📺