Boxcast provides a robust set of options for your livestream embedding. Our suggested option is the iframe code, with the following format:

<iframe width="960" height="540" src="https://boxcast.tv/view-embed/yourchannelID?showTitle=0&showDescription=0&showHighlights=0&showRelated=0&defaultVideo=closest&market=house-of-worship&playInline=1&showCountdown=0&autoplay=try-muted" frameBorder="0" scrolling="auto" allowfullscreen="true" allow="autoplay; fullscreen"></iframe>

Replace yourchannelID with your unique channel ID, usually a string of characters like this: qjqbttnqoub7fn9q32uh.

Let's break down the elements of that iframe code...

We use width="960" height="540" as we typically use that as our largest width for videos on our website templates. Feel free to scale that up as needed, just make sure you maintain your correct 16:9 aspect ratio (or whatever alternate aspect ratio you might be using). Here's an Apsect Ratio Calculator.

After the channel ID, there's a section that sets paramaters for the video display. Think of these like options or settings for the video. They begin with ? and each parameter is divided by &. If the value is set to 0 then it is false. If it's set to 1 it's true.

showTitle=0 will hide the title overlay on the video player.

showDescription=0 will hide the description on the video player.

showHighlights=0 will hide the highlights feature at the end of the video.

showRelated=0 will make it so the video doesn't direct the user to other videos at the end.

defaultVideo=closest will set it to stream the closest video. (This means Sunday's video will be accessible until Thursday, when it will switch to a countdown to your next video stream.

market=house-of-worship sets it with some church-specific boxcast features

playInline=1 will allow it to play inline instead of defaulting to fullscreen on small mobile devices.

autoplay=try-muted will autoplay the video muted by default, which is required for autoplay on most mobile devices.

Feel free to add this to your livestream settings page using the <iframe> option. If you do, you'll be able to insert the stream anywhere on your website with a [live-stream] shortcode.
Was this article helpful?
Cancel
Thank you!