Audio.prototype.seek is undefined (#5935)
This commit is contained in:
		
							parent
							
								
									86b4d5439c
								
							
						
					
					
						commit
						f08e6e9ab5
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -15,7 +15,7 @@ const play = audio => {
 | 
				
			||||||
    if (typeof audio.fastSeek === 'function') {
 | 
					    if (typeof audio.fastSeek === 'function') {
 | 
				
			||||||
      audio.fastSeek(0);
 | 
					      audio.fastSeek(0);
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
      audio.seek(0);
 | 
					      audio.currentTime = 0;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue