I'm trying to add some functions('stop', 'pause', 'onFinish') for an array of video from video, using the vimeo Javascript library 'Froogaloop'.
Anyone know how to do it in AngularJs?
I'm trying to add some functions('stop', 'pause', 'onFinish') for an array of video from video, using the vimeo Javascript library 'Froogaloop'.
Anyone know how to do it in AngularJs?
Copyright © 2021 Jogjafile Inc.
On the HTML you have a code like this:
videos it's the array with the information of the video you want to screen, don't forget to add the 'track by index' on the ng-repeat tag.
On the controller: you will have a a function like this one:
When the video if finished it will print on the console the video object. Youi can add function like 'onPause' or 'onPlayProgress'.