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 over 4 years ago