diff --git a/Source/SAPlayer.swift b/Source/SAPlayer.swift index d0bc68d..78a7578 100644 --- a/Source/SAPlayer.swift +++ b/Source/SAPlayer.swift @@ -541,6 +541,13 @@ extension SAPlayer { public func clearAllQueuedAudio() -> [URL] { return presenter.handleClearQueued() } + + /** + looking for next audio in queue, if it exist play it + */ + public func playNextAudioIfExists() { + return presenter.playNextAudioIfExists() + } /** Resets the player to the state before initializing audio and setting media info.