Title: Is there any javascript event when track ends ?
Last modified: January 5, 2020

---

# Is there any javascript event when track ends ?

 *  [Akshay](https://wordpress.org/support/users/softbyteinfotech/)
 * (@softbyteinfotech)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/is-there-any-javascript-event-when-track-ends/)
 * I want to trigger an ajax request on every time a track ends. Is there any javascript
   event I can use ?
 * I want to limit user to listen track specific times (lets say only 2 times) not
   more then that. Please guide me if it is possible via plugin feature itself.

Viewing 1 replies (of 1 total)

 *  Plugin Support [Fotis](https://wordpress.org/support/users/markwaregr/)
 * (@markwaregr)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/is-there-any-javascript-event-when-track-ends/#post-12295772)
 * Hi there,
    I am afraid there no callback function after each tracks finishes.
   Currently, this is not possible. But adding this feature in future releases might
   be possible.
 * Let me know if I can help in anything else

Viewing 1 replies (of 1 total)

The topic ‘Is there any javascript event when track ends ?’ is closed to new replies.

 * ![](https://ps.w.org/audioigniter/assets/icon-256x256.png?rev=3192201)
 * [AudioIgniter Music Player](https://wordpress.org/plugins/audioigniter/)
 * [Support Threads](https://wordpress.org/support/plugin/audioigniter/)
 * [Active Topics](https://wordpress.org/support/plugin/audioigniter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/audioigniter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/audioigniter/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Fotis](https://wordpress.org/support/users/markwaregr/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/is-there-any-javascript-event-when-track-ends/#post-12295772)
 * Status: not resolved