# \[SOLVED\] Play second video when first video ends?

**URL:** <https://discourse.processing.org/t/solved-play-second-video-when-first-video-ends/13512>\
**Category:** Libraries\
**Created:** [August 21, 2019, 5:17am UTC](https://discourse.processing.org/t/solved-play-second-video-when-first-video-ends/13512 "2019-08-21T05:17:34Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [August 21, 2019, 11:20am UTC](https://discourse.processing.org/t/solved-play-second-video-when-first-video-ends/13512/5 "2019-08-21T11:20:31Z")

</div>

> [@AxeFire](#):
>
> … after the video ends?

> [@Help with text and video](https://discourse.processing.org/t/help-with-text-and-video/2104/9):
>
> /\*\* \* Hacked Movie isPlaying() (v1.0) \* GoToLoop (2018/Jul/28) \* Discourse.Processing.org/t/help-with-text-and-video/2104/9 \*/ import processing.video.Movie; Movie vid; void setup() { frameRate(30); textSize(050); textAlign(CENTER, BASELINE); fill(#FFFF00); vid = new Movie(this, "transit.mov") { @Override public boolean hasBufferSink() { return playing; } }; vid.play(); while (vid.width == 0 | vid.height == 0) delay(10); getSurface().setSize(vid.width, v…

---

_[View the full topic](https://discourse.processing.org/t/solved-play-second-video-when-first-video-ends/13512)._
