Comments (6)
I can't understand what you mean. Can you provide a screenshot?
from ksplayer.
You can rewrite the button click event.
class CustomVideoPlayerView: IOSVideoPlayerView {
override func updateUI(isLandscape: Bool) {
super.updateUI(isLandscape: isLandscape)
toolBar.playbackRateButton.isHidden = true
}
override func onButtonPressed(type: PlayerButtonType, button: UIButton) {
if type == .landscape {
// xx
} else {
super.onButtonPressed(type: type, button: button)
}
}
}
from ksplayer.
You can rewrite the button click event.
class CustomVideoPlayerView: IOSVideoPlayerView { override func updateUI(isLandscape: Bool) { super.updateUI(isLandscape: isLandscape) toolBar.playbackRateButton.isHidden = true } override func onButtonPressed(type: PlayerButtonType, button: UIButton) { if type == .landscape { // xx } else { super.onButtonPressed(type: type, button: button) } } }
But how to make it go full screen?
from ksplayer.
You can adjust the layout of the view directly.
from ksplayer.
You can adjust the layout of the view directly.
ok thanks
from ksplayer.
@prikshitgupta I also want the same functionality which you require. Can you please tell me how did you manage to go full screen please?
from ksplayer.
Related Issues (20)
- Tiny subtitles in Tracy Player
- Dolby Atmos support HOT 2
- Terminating app due to uncaught exception NSInternalInconsistencyException HOT 5
- Error "unsupported URL" when play RTSP url from new iOS Swift project HOT 2
- [iOS] When receiving a notification, the stream will lag for a few seconds before continuing normally
- [SwiftUI] : .onBufferChanged view modifier doesn't print buffer value HOT 1
- KSPlayer & VLC Remote Issues on Apple TV
- [VisionOS] 关闭窗口后,音频还在播放 HOT 3
- 视频无法正常解析播放 HOT 5
- Buffer Settings for being "the closest possible to a live stream" HOT 2
- 播放部分虎牙直播会跳帧,并且控制台会输出很多警告 HOT 13
- Downloading HLS Livestreams for Offline Playback HOT 1
- [Question] Set default video track HOT 2
- Some transcoded live streams are dropping frames. HOT 26
- Teletext appearing as subtitles? HOT 2
- Teletext appearing as subtitles (?) HOT 4
- Crash HOT 2
- Airplay volume stopped working with KSMEPlayer HOT 3
- Optimising sound dynamics HOT 12
- Reset srt label not work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ksplayer.