Ionic is the app platform for web developers. Build amazing mobile, web, and desktop apps all with one shared code base and open web standards

Need to track when a video completed playing.
Only successCallback is there but when backbuton is pressed, this callback is fired as its is only to track successfully coling of video playing.
Any help is appreciated in this regard