@gobistories/gobi-web-integration
Version:
This library will let you put your Gobi stories on your site.
33 lines (27 loc) • 894 B
HTML
<html lang="en">
<head>
<meta property="og:title" content="Gobi Stories">
<meta property="og:description" content="Put stories on your own website">
<meta name="viewport" content="width=device-width, maximum-scale=1">
<title>Collection in an iframe</title>
<script type="text/javascript" src="/dist/run-config.js"></script>
<style>
body {
background-color: #eaf1f9;
}
iframe {
width: 100%;
height: 400px;
}
</style>
<script type="text/javascript" src="../index.js?v=d85e77"></script></head>
<body>
<h2>Collection in an iframe:</h2>
<iframe id="iframe" class="embed" width="500" height="281" scrolling="no" frameborder="0" allowfullscreen></iframe>
</body>
<script type="text/javascript">
const iframe = document.getElementById("iframe");
iframe.src = runConfig.playerUrl + "collection-iframe/demo";
</script>
</html>