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

New Here ,
Apr 04, 2021 Apr 04, 2021

Copy link to clipboard

Copied

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

 

Views

29

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Apr 05, 2021 Apr 05, 2021

Copy link to clipboard

Copied

if your component instance name is flv_pb:

 

flv_pb.addEventListener(Event.COMPLETE, f);

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 12, 2021 Apr 12, 2021

Copy link to clipboard

Copied

thanks kglad!

 

o

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Apr 12, 2021 Apr 12, 2021

Copy link to clipboard

Copied

LATEST

you're welcome.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines