Duzy

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

Dynamic Video Source

The Duzy player provides users with a way to change the source of the video dynamically using the query parameter src. The video will be played using the native browser html5 video player. As an alternative, you can also use this query parameter in combination with jwplayer=true to render the video source in JW Player.

https://play.demo.duzytv.com/geLIAjgZn?src=http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4
<iframe width="100%" height="460" 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?theme=apollo&src=http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" > 
</iframe>

Updated 2 months ago

Dynamic Video Source


Suggested Edits are limited on API Reference Pages

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