         
         // Do something with result
         _ = parser.searchSubtitles(at: 2.0) // Search subtitle at 2.0 seconds
-        
     }
     
 }
-

        
        // Play
        moviePlayer.player?.play()
        
    }
    
    func subtitleParser() {
        
        // Subtitle file
        let subtitleFile = Bundle.main.path(forResource: "trailer_720p", ofType: "srt")
        let subtitleURL = URL(fileURLWithPath: subtitleFile!)

//

import UIKit
import AVKit

class ViewController: UIViewController {
    
    //MARK:- Actions
    
    @IBAction func showVideo(_ sender: UIButton) {
        // Video file
        let videoFile = Bundle.main.path(forResource: "trailer_720p", ofType: "mov")
                
