Skip to content

Version 1.1.0

Compare
Choose a tag to compare
@SvenTiigi SvenTiigi released this 28 Sep 16:48
· 286 commits to main since this release

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