mirror of
				https://github.com/recloudstream/cloudstream.git
				synced 2024-08-15 01:53:11 +00:00 
			
		
		
		
	fixed downloaded video
This commit is contained in:
		
							parent
							
								
									8c0a6dffe9
								
							
						
					
					
						commit
						062d7feff9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1639,7 +1639,7 @@ class PlayerFragment : Fragment() { | |||
|     @SuppressLint("SetTextI18n") | ||||
|     private fun initPlayer() { | ||||
|         if (isDownloadedFile) { | ||||
|             initPlayer(null, uriData.uri) | ||||
|             initPlayer(null, uriData.uri.removePrefix("file://").replace("%20", " ")) // FIX FILE PERMISSION | ||||
|         } | ||||
|         println("INIT PLAYER") | ||||
|         view?.setOnTouchListener { _, _ -> return@setOnTouchListener true } // VERY IMPORTANT https://stackoverflow.com/questions/28818926/prevent-clicking-on-a-button-in-an-activity-while-showing-a-fragment | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue