Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Adding a video to a windows app? — Gideros Forum

Adding a video to a windows app?

I am trying to add a video to play at a certain point in the app. Is it possible? What can I use and how can I proceed?

Thank you in advance!
Tagged:

Comments

  • hgy29hgy29 Maintainer
    Accepted Answer
    You should be able to use the Theora decoder (Xiph ogg container).
    Theora=require "Theora"
     
    local videoSource=Theora.new("video.ogg")
    local videoStream=videoSource:play()
     
    local videoSprite=videoStream:getVideo()
    stage:addChild(videoSprite)

    Likes: misterhup

    +1 -1 (+1 / -0 )Share on Facebook
  • MoKaLuxMoKaLux Member
    edited February 2020
    added to the wiki :) .
    my growING GIDEROS github repositories: https://github.com/mokalux?tab=repositories
    +1 -1 (+2 / -0 )Share on Facebook
Sign In or Register to comment.