mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2025-10-31 12:42:07 +00:00 
			
		
		
		
	Fix errors when full-screen button is pressed.
This commit is contained in:
		| @@ -99,9 +99,9 @@ export default { | ||||
|  | ||||
|             var uri; | ||||
|  | ||||
|             if (this.video.livestream) { | ||||
|             if (!this.video.livestream) { | ||||
|                 uri = this.video.hls; | ||||
|             } else if (this.video.audioStreams.length > 0 && !lbry && MseSupport) { | ||||
|             } else if (this.video.livestream || (this.video.audioStreams.length > 0 && !lbry && MseSupport)) { | ||||
|                 if (!this.video.dash) { | ||||
|                     const dash = require("@/utils/DashUtils.js").default.generate_dash_file_from_formats( | ||||
|                         streams, | ||||
| @@ -271,7 +271,7 @@ export default { | ||||
|                     switch (handler.key) { | ||||
|                         case "f": | ||||
|                             if (document.fullscreenElement) document.exitFullscreen(); | ||||
|                             else self.$refs.container.requestFullscreen(); | ||||
|                             else document.querySelector("video[data-shaka-player]").requestFullscreen(); | ||||
|                             e.preventDefault(); | ||||
|                             break; | ||||
|                         case "m": | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 FireMasterK
					FireMasterK