mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	Change error handler for flash file load fail
This commit is contained in:
		
							parent
							
								
									24bc2cc19a
								
							
						
					
					
						commit
						0e7105f1f7
					
				
					 1 changed files with 1 additions and 3 deletions
				
			
		| 
						 | 
					@ -171,9 +171,7 @@ function loadContent() {
 | 
				
			||||||
	loadingStatus.value = 'Loading Flash file';
 | 
						loadingStatus.value = 'Loading Flash file';
 | 
				
			||||||
	player.value.load(url.value).then(() => {
 | 
						player.value.load(url.value).then(() => {
 | 
				
			||||||
		loadingStatus.value = undefined;
 | 
							loadingStatus.value = undefined;
 | 
				
			||||||
	}).catch((error) => {
 | 
						}).catch(handleError);
 | 
				
			||||||
		console.error(error);
 | 
					 | 
				
			||||||
	});
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function playPause() {
 | 
					function playPause() {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue