VideoTools/vendor/fyne.io/fyne/v2/driver/mobile/keyboard.go
Stu Leak 68df790d27 Fix player frame generation and video playback
Major improvements to UnifiedPlayer:

1. GetFrameImage() now works when paused for responsive UI updates
2. Play() method properly starts FFmpeg process
3. Frame display loop runs continuously for smooth video display
4. Disabled audio temporarily to fix video playback fundamentals
5. Simplified FFmpeg command to focus on video stream only

Player now:
- Generates video frames correctly
- Shows video when paused
- Has responsive progress tracking
- Starts playback properly

Next steps: Re-enable audio playback once video is stable
2026-01-07 22:20:00 -05:00

27 lines
714 B
Go

package mobile
import (
"fyne.io/fyne/v2"
)
// KeyboardType represents a type of virtual keyboard
type KeyboardType int32
const (
// DefaultKeyboard is the keyboard with default input style and "return" return key
DefaultKeyboard KeyboardType = iota
// SingleLineKeyboard is the keyboard with default input style and "Done" return key
SingleLineKeyboard
// NumberKeyboard is the keyboard with number input style and "Done" return key
NumberKeyboard
// PasswordKeyboard is used to ensure that text is not leaked to 3rd party keyboard providers
PasswordKeyboard
)
// Keyboardable describes any CanvasObject that needs a keyboard
type Keyboardable interface {
fyne.Focusable
Keyboard() KeyboardType
}