Insert a video using flet multipage #2191
                  
                    
                      levigssantos
                    
                  
                
                  started this conversation in
                Show and tell
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I have no success inserting a video using videocontainer(https://github.com/SKbarbon/flet_ived), could anyone help me with this?
import flet as ft
from flet_ivid import VideoContainer
def main(page: ft.Page):
page.title = "Routes Example"
vc = page.add(VideoContainer("video.mp4", play_after_loading=
True, video_progress_bar=True, width=200, height=200))
def route_change(route):
page.views.clear()
ft.app(target=main, view=ft.AppView.WEB_BROWSER)
Beta Was this translation helpful? Give feedback.
All reactions