Share Posted September 29, 2010 Hi everybody. Does anyone know how to add dynamic video cuePoints to the VideoLoader? Like the “addASCuePoint()” method from the FLVPlayback Component. Is it possible to define in the “VideoLoaderVars” an array with my cuePoints? I would like to write some nodes with cuePoint Information into a XML and add the cuePoints later dynamically to the VideoLoader. Or should i work with the "videoTime"-property? Link to comment Share on other sites More sharing options...
Share Posted September 30, 2010 Your wish is my command, Stefan. I just posted an update to VideoLoader and it now has addASCuePoint() and removeASCuePoint() methods (as of version 1.6 of VideoLoader). Take a peek and let me know if it works well for you. Link to comment Share on other sites More sharing options...
Author Share Posted October 1, 2010 Hi Jack! Thank you so much for extending the VideoLoader with dynamicCuePoints! I have tried the the method and everythings works fine. Only one thing i have noticed. The Listener (VideoLoader.VIDEO_CUE_POINT) always fires 2 times when it reaches the the dynamic added CuePoint from the "addASCuePoint()"-method. If it reaches the included CuePoint ( rendered into the video ), it only fires 1 time. Any idea? Thank you and greetings. Stefan. Link to comment Share on other sites More sharing options...
Author Share Posted October 1, 2010 Jack, i have found the solution. It was my fault. I have added the CuePoints at "LoaderEvent.INIT" of the "VideoLoader". So it was added 2 times, cause "Init" was called 2 times. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now