# How to handle bitmovin's start and pause event in javascript

**URL:** <https://community.bitmovin.com/t/how-to-handle-bitmovins-start-and-pause-event-in-javascript/2822>\
**Category:** Support\
**Tags:** bitmovin-player, bitmovin-encoding, bitmovin, web\
**Created:** [April 18, 2024, 5:32am UTC](https://community.bitmovin.com/t/how-to-handle-bitmovins-start-and-pause-event-in-javascript/2822 "2024-04-18T05:32:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Kishore](https://sea1.discourse-cdn.com/flex015/user_avatar/community.bitmovin.com/kishore/32/174_2.png) [@Kishore](https://community.bitmovin.com/u/Kishore)\
**Post date:** [April 18, 2024, 5:47am UTC](https://community.bitmovin.com/t/how-to-handle-bitmovins-start-and-pause-event-in-javascript/2822/2 "2024-04-18T05:47:48Z")

</div>

Hi @rajeshrai0512,

Thank you for reaching out to us.

Here is the code to listen for the pause event.

```auto
player.on('paused', function () {
    alert("hello world stop");
});
```

---

_[View the full topic](https://community.bitmovin.com/t/how-to-handle-bitmovins-start-and-pause-event-in-javascript/2822)._
