The Duzy Developer Hub

Welcome to the Duzy developer hub. You'll find comprehensive guides and documentation to help you start working with Duzy as quickly as possible, as well as support if you get stuck. Let's jump right in!

API Reference    Guides

Embedding The Player

After creating a promotion with Duzy, we provide you with two options to get our player on your page. Our first, and recommended, option is to use the embed code we provide (i.e. iframe). The iframe is responsive and will adjust its behavior accordingly depending on your viewport size.

<iframe width="640" height="360" scrolling="no" frameborder="0" allowfullscreen="true" id="geLIAjgZn" name="DuzyPlayer" 
        onload="window.addEventListener('message', (e) => { if(e.data.type === 'DUZY_PLAYER_FULL_SCREEN' && e.data.value.code === 'geLIAjgZn') document.getElementById('geLIAjgZn').style.cssText = e.data.value.css })" 
        src="https://play.demo.duzytv.com/geLIAjgZn" > 

Updated 11 months ago

Embedding The Player

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.