|  | @ -28,7 +28,7 @@ function DataTop5(props) { | 
			
		
	
		
		
			
				
					|  |  |             // key={Math.random()}
 |  |  |             // key={Math.random()}
 | 
			
		
	
		
		
			
				
					|  |  |             defaultValue={videoList[0]?.url} |  |  |             defaultValue={videoList[0]?.url} | 
			
		
	
		
		
			
				
					|  |  |             // value={showVideoList}
 |  |  |             // value={showVideoList}
 | 
			
		
	
		
		
			
				
					
					|  |  |             onChange={(value) => { setShowVideoList(value); }} |  |  |             onChange={(value) => { setShowVideoList(recUrlToLiveUrl(value)); }} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |         > |  |  |         > | 
			
		
	
		
		
			
				
					|  |  |             {videoList.map(s => <Option key={s.url} value={s.url}>{s.name}</Option>)} |  |  |             {videoList.map(s => <Option key={s.url} value={s.url}>{s.name}</Option>)} | 
			
		
	
		
		
			
				
					|  |  |         </Select> |  |  |         </Select> | 
			
		
	
	
		
		
			
				
					|  | @ -58,4 +58,9 @@ function DataTop5(props) { | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  | export default DataTop5; |  |  | export default DataTop5; | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |  |  |  | function recUrlToLiveUrl(url) { | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     if (!url) return undefined; | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     return url.replace('.rec', '.live'); | 
			
		
	
		
		
			
				
					|  |  |  |  |  | } | 
			
		
	
		
		
			
				
					|  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  | 
 |