You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+13-2Lines changed: 13 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,19 @@
1
+
1
2
# Changelog
2
3
3
4
All notable changes to this project will be documented in this file.
4
5
6
+
## [0.3.0]
7
+
8
+
- FastPix iOS Player now supports playlist.
9
+
- Create and manage playlists with multiple `FastPixPlaylistItems`.
10
+
- Add playlist directly to the player using `addPlaylist()` method.
11
+
- Auto-play option (`isAutoPlayEnabled`) to automatically continue playback with the next item.
12
+
- Option to hide the SDK’s default controls (`hideDefaultControls`) for building custom UI.
13
+
- Playlist state notifications via `NotificationCenter` (`FastPixPlaylistStateChanged`) for updating UI elements such as titles, buttons, or thumbnails.
14
+
- Built-in navigation methods: `next()`, `previous()`, and `jumpTo(index:)` for moving between items.
15
+
- Navigation methods can also be connected to custom UI buttons (e.g., Next/Previous/Episode selectors)
16
+
5
17
## [0.2.0]
6
18
7
19
- FastPix iOS Player now supports DRM via Apple FairPlay for content protection.
@@ -18,5 +30,4 @@ All notable changes to this project will be documented in this file.
18
30
- Fixed resolution option (e.g., `.set480p`).
19
31
- Range-based resolution configuration.
20
32
-**Rendition Order Customization**: Added support for ascending or descending rendition selection.
21
-
-**Swift Package Manager Support**: SDK is installable via SPM using the repo URL.
22
-
33
+
-**Swift Package Manager Support**: SDK is installable via SPM using the repo URL.
iflet current =self.playerViewController.currentPlaylistItem {
289
+
NSLog("current item: \(current)")
290
+
}
291
+
}
292
+
}
293
+
```
294
+
295
+
### Playlist Navigation
296
+
297
+
FastPix Player SDK provides built-in methods to navigate between playlist items. You can move to the next or previous video, or jump directly to a specific index in the playlist. These methods can also be tied to your own UI controls (like **Next**, **Previous**, or **Jump to Episode** buttons), making it easy to customize the playback experience for your users. The index is zero-based (e.g., `jumpTo(index: 0)` plays the first item), and you can combine these navigation methods with the Playlist State Observer to dynamically update the UI (such as the current video title, button states, or thumbnails).
298
+
299
+
#### Example Usage
300
+
301
+
```swift
302
+
// Go to the next playlist item
303
+
304
+
playerViewController.next()
305
+
306
+
// Go back to the previous playlist item
307
+
308
+
playerViewController.previous()
309
+
310
+
// Jump to a specific item in the playlist (e.g., index 2)
311
+
312
+
playerViewController.jumpTo(index: 2)
313
+
```
314
+
198
315
#### Each of these features is designed to enhance both flexibility and user experience, providing complete control over video playback, appearance, and user interactions in FastPix-player.
199
316
200
317
# Supporting tvOS
@@ -257,4 +374,4 @@ class TVPlayerViewController: UIViewController {
257
374
258
375
## Maturity
259
376
260
-
This SDK is currently in beta, and breaking changes may occur between versions even without a major version update. To avoid unexpected issues, we recommend pinning your dependency to a specific version. This ensures consistent behavior unless you intentionally update to a newer release.
377
+
This SDK is currently in beta, and breaking changes may occur between versions even without a major version update. To avoid unexpected issues, we recommend pinning your dependency to a specific version. This ensures consistent behavior unless you intentionally update to a newer release.
0 commit comments