- 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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user