# Remove Audio when finished playing

**URL:** https://discourse.processing.org/t/remove-audio-when-finished-playing/24802
**Category:** Libraries
**Created:** [October 21, 2020, 4:28pm UTC](https://discourse.processing.org/t/remove-audio-when-finished-playing/24802 "2020-10-21T16:28:11Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Darkfusion2](https://avatars.discourse-cdn.com/v4/letter/d/e56c9b/32.png) [@Darkfusion2](https://discourse.processing.org/u/Darkfusion2)
#### Post date: [October 21, 2020, 4:28pm UTC](https://discourse.processing.org/t/remove-audio-when-finished-playing/24802/1 "2020-10-21T16:28:11Z")

</div>

So baysicly I got a Video that starts playing when the score of an clickergame hits 100.

Everything works good but when the video is finished it stays on the screen.

Is there a way so that when the video is over it is removed from the sight?

---

<div class="post-metadata">

### Author: ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)
#### Post date: [October 22, 2020, 5:21pm UTC](https://discourse.processing.org/t/remove-audio-when-finished-playing/24802/2 "2020-10-22T17:21:48Z")

</div>

use background(0) ?

can you provide a mcve? [https://stackoverflow.com/help/minimal-reproducible-example](https://stackoverflow.com/help/minimal-reproducible-example)

Chrisir
