Skip to main content
Known Participant
April 4, 2021
Question

how to play an mp4 video in loop using AIR for android

  • April 4, 2021
  • 1 reply
  • 199 views

Hi, is there a simple way to make a video loop.

I dont see this option in the flv playback component parameters.

 

is there a code i can use to tell the movie to go back and start again?

thanks

 

o

 

    This topic has been closed for replies.

    1 reply

    kglad
    Community Expert
    Community Expert
    April 5, 2021

    if your component instance name is flv_pb:

     

    flv_pb.addEventListener(Event.COMPLETE, f);

    function f(e:Event):void{
    flv_pb.play();
    }

    oro1985Author
    Known Participant
    April 12, 2021

    thanks kglad!

     

    o

    kglad
    Community Expert
    Community Expert
    April 12, 2021

    you're welcome.