mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-11-04 03:17:00 -05:00 
			
		
		
		
	Update client/players/LocalAudioPlayer.js
This commit is contained in:
		
							parent
							
								
									596a03900b
								
							
						
					
					
						commit
						7b425e9a9d
					
				@ -149,7 +149,7 @@ export default class LocalAudioPlayer extends EventEmitter {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    this.hlsInstance.attachMedia(this.player)
 | 
					    this.hlsInstance.attachMedia(this.player)
 | 
				
			||||||
    this.hlsInstance.on(Hls.Events.MEDIA_ATTACHED, () => {
 | 
					    this.hlsInstance.on(Hls.Events.MEDIA_ATTACHED, () => {
 | 
				
			||||||
      this.hlsInstance.loadSource(m3u8Url)
 | 
					      this.hlsInstance.loadSource(this.currentTrack.relativeContentUrl)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      this.hlsInstance.on(Hls.Events.MANIFEST_PARSED, () => {
 | 
					      this.hlsInstance.on(Hls.Events.MANIFEST_PARSED, () => {
 | 
				
			||||||
        console.log('[HLS] Manifest Parsed')
 | 
					        console.log('[HLS] Manifest Parsed')
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user