JWP Product Release Notes logo

Product Release Notes

Back to Homepage Subscribe to Updates

Labels

  • All Posts
  • Access Control
  • Account & Billing
  • Advertising
  • Apps
  • Data & Analytics
  • Dynamic Strategy Rules
  • Live Channels
  • Media Management
  • SDK: Android
  • SDK: iOS
  • Web Player

Jump to Month

  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
Release notes byAnnounceKit

Create yours, for free!

SDK: iOS
a year ago

iOS: 4.13.0 - Offline Playback BPA and adEvent Delegate Method Signature Revision

Our 4.13.0 iOS release introduces an important delegate method signature revision and the new Offline Playback Best Practice App. In addition, this release replaces a type alias, adds media track access, and includes delegates for event observation.

Key bug fixes address button alignment, Chromecast crashes, and JavaScript Environment inspection.


New Features

  • IMPORTANT: The adEvent delegate method signature has been revised from func jwplayer(_ player: AnyObject, adEvent event: JWAdEvent) to func jwplayer(_ player: JWPlayer, adEvent event: JWAdEvent) for better consistency and easier access to the JWPlayer object. If you use or override this method, please update your code to align with the new signature.
  • The new Offline Playback Best Practice App demonstrates how to implement offline download, storage, and playback of unprotected content.
  • The JWCaptionStyleBuilder now has a method, allowScaling, which controls whether side-loaded captions enlargen as the player's size increases (like on an iPad or in full screen). By default, this is enabled. If set to false, it adheres strictly to the user's device settings.
  • To observe related content events, use the JWRelatedEventDelegate, which can be assigned in the JWPlayer object. The JWPlayerViewController conforms to this protocol by default.
  • Related content can now be loaded with play(relatedContent:).
  • To observe chapter events for media with defined chapters, use the JWChaptersDelegate, which can be assigned in the JWPlayer object. The JWPlayerViewController conforms to this protocol by default.
  • The typealias, JSONObject, has replaced instances of [String : Any].
  • A JWPlayerItem can be encoded to or decoded from a JSONObject.
  • Additional properties have been added to JWPlayerItem, allowing access to different media tracks within the item: chapterTrack: JWMediaTrack?, thumbnailTrack: JWMediaTrack? and captionTracks: [JWMediaTrack].
  • The kind of media track viewed can be queried through the JWMediaTrackKind property.

Bug Fixes

  • In the VAST ad interface, the Learn More button has been realigned.
  • Crashes no longer occur when replacing a playlist during an active Chromecast session.
  • JavaScript Environment inspection has been re-enabled.