diff --git a/CHANGELOG.md b/CHANGELOG.md index f7bd7c4..d974b76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ ## CHANGELOG +## [1.5.0] + +### Added + +- Floating player functionality. This feature complements Picture in Picture by supporting a custom floating player that can be used within the application. Apple's Picture in Picture will automatically be used when the user switches to another app while watching a live stream. +- Improved Firework share link handling + +### Fixed + +- Story block automatically pauses when no longer on screen +- Overlap of pinned products and interactions while in live stream + ## [1.3.0] ### Added diff --git a/FireworkVideo.podspec b/FireworkVideo.podspec index fd7a6d6..01301ca 100644 --- a/FireworkVideo.podspec +++ b/FireworkVideo.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = "FireworkVideo" - spec.version = "1.3.0" + spec.version = "1.5.0" spec.summary = "FireworkVideoSDK" spec.homepage = "https://github.com/loopsocial/firework_ios_sdk" spec.license = { :text => "Copyright 2021 Loop Now Technologies, Inc.", :type => "Copyright" } diff --git a/Package.swift b/Package.swift index 392129c..fe7ef42 100644 --- a/Package.swift +++ b/Package.swift @@ -15,8 +15,8 @@ let package = Package( ], targets: [ .binaryTarget(name: "FireworkVideo", - url: "https://github.com/loopsocial/firework_ios_sdk/releases/download/v1.3.0/FireworkVideo-v1.3.0.xcframework.zip", - checksum: "14976fe6aa2cfaa1683e4f9b697de472e1c7d2d03e5e8fec7469e0af3f7b3c99"), + url: "https://github.com/loopsocial/firework_ios_sdk/releases/download/v1.5.0/FireworkVideo-v1.5.0.xcframework.zip", + checksum: "c913f148ff86dda9eeba7627fbe7e5785d936a80f6c48cd3db2030e14d81a89a"), ] ) diff --git a/README.md b/README.md index c1106f2..3b0862d 100644 --- a/README.md +++ b/README.md @@ -224,6 +224,9 @@ playerConfig.playbackButton.isHidden = true // Set the delay of the CTA button. Using 0 will result in no delay. playerConfig.ctaButton.behavior.delay = .constant(0) +// Set the highlight delay of the CTA button. Using 0 will result in no delay and the button will be highlighted immediately. +playerConfig.ctaButton.behavior.highlightDelay = .constant(0) + // Add UIActivity instances specific to your app playerConfig.shareButton.behavior.applicationActivities = customApplicationActivities() @@ -534,6 +537,7 @@ This feature allows the user to watch media while the application is in a backgr To enable PiP functionality, you’ll need to add Background Modes capability via Signing & Capabilities in your project settings. More information about this can be found here: [Apple Documentation](https://developer.apple.com/documentation/avfoundation/media_playback/configuring_the_audio_playback_of_ios_and_tvos_apps) +> **Note** To use Picture in Picture, we configure the app to support background audio playback. See [Configuring the Audio Playback of iOS and tvOS Apps](https://developer.apple.com/documentation/avfoundation/media_playback/configuring_the_audio_playback_of_ios_and_tvos_apps) for more details. Once the background mode is enabled, moving from an active state to a background state will immediately trigger the Picture In Picture functionality. PictureInPictureController is responsible for handling all of this functionality. PictureInPictureController retains a strong reference of AVPictureInPictureController. AVPictureInPictureController is a controller that responds to user-initiated Picture in Picture playback of video in a floating, resizable window.