Jump to content
Search Community

VideoLoader.VIDEO_PLAY fired twice

toytonic test
Moderator Tag

Recommended Posts

Hi there,

 

when doing

 

videoloader.load();

videoloader.playVideo();

 

the VideoLoader.VIDEO_PLAY event is fired twice. Once immediately after the play function is triggered and once after the Netstatus-Event is received. I found this when I was looking for an event to check when the video is actually playing...

 

Sorry for not having had more time to debug it more precisely, maybe I'll get to it tomorrow

 

But again, thanks for all your work!

Link to comment
Share on other sites

this is just a guess, but do you have autoPlay specifically set to false?

if not, it defaults to true. so perhaps the video is playing prior to playVideo() being called.

 

if that is not the reason, could you please provide some of the code you are using to create videoLoader and cause playVideo to be fired so that someone might be able to give you better instruction?

 

thanks

 

Carl

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...