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
29 lines
781 B
Go
29 lines
781 B
Go
// Package fyne describes the objects and components available to any Fyne app.
|
|
// These can all be created, manipulated and tested without rendering (for speed).
|
|
// Your main package should use the app package to create an application with
|
|
// a default driver that will render your UI.
|
|
//
|
|
// A simple application may look like this:
|
|
//
|
|
// package main
|
|
//
|
|
// import "fyne.io/fyne/v2/app"
|
|
// import "fyne.io/fyne/v2/container"
|
|
// import "fyne.io/fyne/v2/widget"
|
|
//
|
|
// func main() {
|
|
// a := app.New()
|
|
// w := a.NewWindow("Hello")
|
|
//
|
|
// hello := widget.NewLabel("Hello Fyne!")
|
|
// w.SetContent(container.NewVBox(
|
|
// hello,
|
|
// widget.NewButton("Hi!", func() {
|
|
// hello.SetText("Welcome :)")
|
|
// }),
|
|
// ))
|
|
//
|
|
// w.ShowAndRun()
|
|
// }
|
|
package fyne // import "fyne.io/fyne/v2"
|