# HTML5 Video Player Image preroll and postroll w/ links?

**URL:** <https://community.wowza.com/t/html5-video-player-image-preroll-and-postroll-w-links/91920>\
**Category:** Wowza Streaming Engine\
**Tags:** media-players-and-devices\
**Created:** [September 15, 2020, 1:14pm UTC](https://community.wowza.com/t/html5-video-player-image-preroll-and-postroll-w-links/91920 "2020-09-15T13:14:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rich\_Sokol](https://avatars.discourse-cdn.com/v4/letter/r/d78d45/32.png) [@Rich\_Sokol](https://community.wowza.com/u/Rich_Sokol)\
**Post date:** [September 15, 2020, 1:14pm UTC](https://community.wowza.com/t/html5-video-player-image-preroll-and-postroll-w-links/91920/1 "2020-09-15T13:14:18Z")

</div>

Does anyone know how to do the video configuration object that you could do with Flash but with an HTML5 player or if its even possible? Where the configuration was a JSON object that is fed to the player when it loads? Can that still be done? Thanks in advance.  
{“src”:",  
“preRoll”:{“url”:"",“duration”:,“link”:"",“target”:"\_blank"}  
,“postRoll”:{“url”:"",“duration”:,“link”:"",“target”:"\_blank"},  
“overlay”:{“url”:"",“duration”:0,“transparency”:,“size”:,“start”:0,“position”:“top left”},  
“autoPlay”:false,“autoHideControlBar”:true,“displayPlayOverlay”:true,“playOverlayPercent”:25  
}

---

<div class="post-metadata">

**Author:** ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)\
**Post date:** [September 15, 2020, 5:18pm UTC](https://community.wowza.com/t/html5-video-player-image-preroll-and-postroll-w-links/91920/2 "2020-09-15T17:18:57Z")

</div>

This depends on which player you’re using. Many players (like JWPlayer, THEOplayer) support pre-roll (typically for Ads), overlay, etc. via their proprietary SDK. It’s possible to implement it with JavaScript and the HTML5 \<video\> tag, but that’s a lot of work.

---

<div class="post-metadata">

**Author:** ![Rich\_Sokol](https://avatars.discourse-cdn.com/v4/letter/r/d78d45/32.png) [@Rich\_Sokol](https://community.wowza.com/u/Rich_Sokol)\
**Post date:** [September 16, 2020, 4:46pm UTC](https://community.wowza.com/t/html5-video-player-image-preroll-and-postroll-w-links/91920/3 "2020-09-16T16:46:29Z")

</div>

Thanks! Before we migrated to WSE we were using AMS and the OSMF player. At present we are simply using the HTML5 video object, it works fine, but does not give any bells and whistles. We need a feature-rich player that can be deployed on a closed network without the need to call home. Do you have a favorite? Open source would be great but its not a requirement.

---

<div class="post-metadata">

**Author:** ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)\
**Post date:** [September 16, 2020, 5:07pm UTC](https://community.wowza.com/t/html5-video-player-image-preroll-and-postroll-w-links/91920/4 "2020-09-16T17:07:55Z")

</div>

Yes, I have a favorite, but I don’t find it fair to mention a single one here and forget about others that are competitive, in my opinion. So here are a few players worth looking into. As usual, the advantages of Commercial vs Free/Open-Source are better features, better customer support, better support for the player on different devices and OSes, etc.

**Free/Open-Source**

- VideoJS ([https://videojs.com](https://videojs.com))
- Clappr ([https://github.com/clappr/clappr](https://github.com/clappr/clappr))
- HLS.js ([https://hls-js.netlify.app/demo](https://hls-js.netlify.app/demo))

**Commercial**

- THEOplayer
- Bitmovin
- FlowPlayer
- JWPlayer
- And probably a whole lot more, but these 4 are the most used ones.
