 			menuItems = [Output]()
 		}
 		
-		private func extract() -> [Output]  {
+		private func extractM3u8() -> [Output]  {
 			guard let url = url,
+                url.pathExtension.contains("m3u8"),
 				let text = try? String(contentsOf: url, encoding: .utf8)
 				else { return [Output]() }
 			

            currentIndex = 0
            item = player._player?.player.player.currentItem
            url = (item?.asset as? AVURLAsset)?.url
            menuItems = extract()
            self.player.configureTopBar(outputsCount: self.menuItems.count)
        }
        

		
		switch _state {
		case kGMFPlayerStateReadyToPlay:
            for delegate in _delegates {
                delegate.onLoad?()
            }
			
			if _pendingPlay {
				DispatchQueue.main.async { self.destroyThumb() }
