Add this javascript code anywhere in your page. Either in the '<head>' or after the opening "<body>" tag:

<script>
    /** Start Deckchair Library */
    window.dcAsyncInit = function () {
        window.deckchair_com.config = {
            version: '1',
            urlMode: '#',
            urlKey: 'webcam'
        };
        window.deckchair_com.init();
    };
    (function (d, s, id) {
        var js, djs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id)) {
            return;
        }
        js = d.createElement(s);
        js.id = id;
        js.src = "//camera.deckchair.com/embed.js";
        djs.parentNode.insertBefore(js, djs);
    }(document, 'script', 'deckchair-jssdk'));
    /** End Deckchair Library */
</script>

The javascript code above will look for elements with a specific data attribute "data-deckchair-embed". The contents of these tags will be hidden and the Deckchair "iframe" based widget appended.

When specifying the size of the embed tag we recommend you only specify a width, the height will be calculated automatically to provide the best aspect ratio. By default the width will be 100% of the containing area.

<div data-deckchair-embed=""
     data-deckchair-width="100%"
     data-deckchair-camera="brighton-hove">
  <!-- This is hidden when the Deckchair Widget is loaded, we leave this link here for users who don't have Javascript enabled, and Search Engines -->
    <a href="https://camera.deckchair.com/brighton-hove" target="_blank">Brighton &amp; Hove, UK, Webcam</a>
</div>

Advanced Configuration

The Deckchair embed tag supports a number of configurable parameters...

 

Configurable "Call To Action" URL - [data-deckchair-cta-href]

You can override the link for the Call To Action button on your camera using this property "data-deckchair-cta-href":

<div data-deckchair-embed=""
     data-deckchair-cta-href="http://www.mysite.com/book?ref=web#book"
     data-deckchair-camera="brighton-hove">
    <a href="https://camera.deckchair.com/brighton-hove" target="_blank">Brighton &amp; Hove, UK, Webcam</a>
</div>