# Play an advertising video before play a VoD on Serverside

**URL:** <https://community.wowza.com/t/play-an-advertising-video-before-play-a-vod-on-serverside/40974>\
**Category:** Wowza Streaming Engine\
**Created:** [August 28, 2015, 8:30pm UTC](https://community.wowza.com/t/play-an-advertising-video-before-play-a-vod-on-serverside/40974 "2015-08-28T20:30:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manh\_Hung\_Nguyen](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Manh\_Hung\_Nguyen](https://community.wowza.com/u/Manh_Hung_Nguyen)\
**Post date:** [August 28, 2015, 8:30pm UTC](https://community.wowza.com/t/play-an-advertising-video-before-play-a-vod-on-serverside/40974/1 "2015-08-28T20:30:40Z")

</div>

Hi everyone,

I want to set up wowza Application, when user play an VoD, they will watch an advertising video before watch the VoD which they choose.

I can not use wowza schedule module because I want every time user play a VoD, they must watch my advertising Video.

How do I do the work on serverside for both HLS and rtmp?

Thank a lot.

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [August 29, 2015, 7:58am UTC](https://community.wowza.com/t/play-an-advertising-video-before-play-a-vod-on-serverside/40974/2 "2015-08-29T07:58:58Z")

</div>

Please take a look at this module to see if it fits your needs:

[How to insert a pre-roll or mid-roll for video on demand playback in Flash RTMP client](https://www.wowza.com/docs/how-to-insert-a-pre-roll-or-mid-roll-for-video-on-demand-playback-in-flash-rtmp-client)

This guide includes a client-side work-around for iOS:

[How to do pre-roll and playlist for iOS (a client-side work-around)](https://www.wowza.com/docs/how-to-do-pre-roll-and-playlist-for-ios-a-client-side-work-around)

Regards,

Salvadore

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [August 31, 2015, 6:29am UTC](https://community.wowza.com/t/play-an-advertising-video-before-play-a-vod-on-serverside/40974/3 "2015-08-31T06:29:16Z")

</div>

No, there is no way to do this server-side for non-Flash clients at present.

Salvadore

---

<div class="post-metadata">

**Author:** ![Manh\_Hung\_Nguyen](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Manh\_Hung\_Nguyen](https://community.wowza.com/u/Manh_Hung_Nguyen)\
**Post date:** [August 30, 2015, 8:05pm UTC](https://community.wowza.com/t/play-an-advertising-video-before-play-a-vod-on-serverside/40974/4 "2015-08-30T20:05:31Z")

</div>

Hi Salvadore,

Is there any way, Wowza support for me, to custom playlist of HLS on server-side?

Thank a lot.
