To embed a channel into an external website you will need the channel's embed code. To obtain the code, navigate to Settings > Channels, and locate the channel you are looking to embed.
Click on the three dots at the very right of the channel and select 'Embed'. This will generate an iframe code that can display as many items of content as you desire, which you can then use to showcase the channel on an external website.
To adjust the number of content items in the embedded channel, you can edit the count
value as highlighted in the example below:
<iframe id="embed-channel-321cc8a779cea8a76de2f4ee8f8d18e6"
src="https://community.zapnito.com/embed/channels/49-news?count=4"
width="100%" height="330px" frameborder="0"></iframe>
<script>(function(iframe) { iframe.contentWindow.addEventListener("message", function(event)
{ iframe.style.height = event.data.height + "px"; }, false); })
(document.getElementById("embed-channel-321cc8a779cea8a76de2f4ee8f8d18e6")); </script>
If you have any queries or experience any issues with embedding Zapnito channels into an external site, please let us know at support@zapnito.com or add a comment below.
Comments
0 comments
Please sign in to leave a comment.