|
@@ -192,7 +192,7 @@ class MVHomeController: MVBaseController {
|
|
// 播放完成 自动播放下一个
|
|
// 播放完成 自动播放下一个
|
|
if status == .PQVIDEO_PLAY_STATUS_END {
|
|
if status == .PQVIDEO_PLAY_STATUS_END {
|
|
PQSingletoVideoPlayer.shared.playVideoData!.playProgress = 0
|
|
PQSingletoVideoPlayer.shared.playVideoData!.playProgress = 0
|
|
- if (self?.lastBnnerSelectIndex.row ?? 0) < (self?.mAllVideos.count ?? 0) {
|
|
|
|
|
|
+ if (self?.lastBnnerSelectIndex.row ?? 0) < (self?.mAllVideos.count ?? 0) - 1 {
|
|
self?.lastBnnerSelectIndex = IndexPath(row: (self?.lastBnnerSelectIndex.row ?? 0) + 1, section: 0)
|
|
self?.lastBnnerSelectIndex = IndexPath(row: (self?.lastBnnerSelectIndex.row ?? 0) + 1, section: 0)
|
|
self?.playVideo(page: (self?.lastBnnerSelectIndex ?? IndexPath(row: 0, section: 0)).row)
|
|
self?.playVideo(page: (self?.lastBnnerSelectIndex ?? IndexPath(row: 0, section: 0)).row)
|
|
|
|
|