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.
https://play.demo.duzytv.com/geLIAjgZn
<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" >
</iframe>
Updated over 4 years ago
What’s Next
Alternate way to use player: landing page