Embedding the player may not be the right solution for everyone, As an alternative, we offer our users a way to host the Duzy player directly on their website. This method allows you to avoid using an
iframe, which allows you to bypass CORS issues you may experience, and gives you a bit more control over rendering. Please note that you will need a Duzy Player key for this method of hosting the player.
<script src="https://d.duzy.tv/play.js" id="_duzyjs" code="geLIAjgZn" key="xxxxxxxx-xxxx-xxxx-xxxx-fe800e07f884" targetId="DIV_GOES_HERE" async defer></script>
A few key notes to consider:
keyis required for this method. Please contact us for more info.
targetIdis optional. If a DOM element ID is provided in this attribute, the player will be loaded in that DOM element. If not used, the player will be loaded directly in the
codeis your promotion code.
- Your exact script tag will be generated for you after you "Launch" a promotion within the Admin system.
Updated about a year ago