Is it possible to integrate Samba Live with my current web site?

Yes, you can integrate Samba Live with your website—you can simply plop a Samba Live session into an iframe.

Important: your site will need a valid SSL certificate for your domain in order for Samba Live to function properly on your site.

Template iframe code

Here is a sample iframe code block to get you started on integrating Samba Live into your own website:

<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=0.5" />
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="" />
<meta name="author" content="" />
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<link rel="shortcut icon" href="images/favicon.png" type="image/x-icon" />

<title>Samba Live</title>

body, html {width: 100%; height: 100%; margin: 0; padding: 0}
.row-container {display: flex; width: 100%; height: 100%; flex-direction: column; overflow: hidden;}
.iframe { flex-grow: 1; border: none; margin: 0; padding: 0; }
<div class="row-container">
<iframe src="{MYURL}" class="iframe" allow="encrypted-media; microphone; camera"></iframe>

Important note for screen sharing within an iframe:

If you wish to enable screen sharing within your iframe, then please note that recent browser updates now require an additional line of code. Aside from the camera and microphone option, depending on your browser, there might be a need to include a "display-capture" parameter. In example:

allow="camera; microphone; display-capture;"