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

			menuItems = [Output]()
		}
		
		private func extract() -> [Output]  {
			guard let url = url,
				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 = extractM3u8()
            self.player.configureTopBar(outputsCount: self.menuItems.count)
        }
        
