- Completed Apply Coupon Functionality

- Made a selection for the coupon selected, also added no coupon found when coupon is not there
- Added Masila view in more section
- Added Play trailer from Manila in more section
- Gave other connectivity
This commit is contained in:
2024-07-24 19:59:08 +05:30
parent 22796ec0b1
commit bb68fa1e3c
18 changed files with 260 additions and 77 deletions

View File

@@ -109,7 +109,7 @@ class PlayerVC: JWPlayerViewController, JWPlayerViewControllerDelegate {
override func jwplayer(_ player: any JWPlayer, didFinishLoadingWithTime loadTime: TimeInterval) {
super.jwplayer(player, didFinishLoadingWithTime: loadTime)
print("LoadTime", loadTime)
if let videoIndex{
if let videoIndex , contentType == .webSeries{
player.nextUpPlaylistIndex = videoIndex
player.next()
self.videoIndex = nil
@@ -129,7 +129,8 @@ class PlayerVC: JWPlayerViewController, JWPlayerViewControllerDelegate {
// player.next()
}
case .trailer:
player.play()
break
// player.play()
case .continueWatching,.audioBooks, .games:
player.seek(to: 0)
player.play()