@gobistories/gobi-web-integration
Version:
This library will let you put your Gobi stories on your site.
34 lines (27 loc) • 929 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>Bubbles & Player in an iframe</title>
<script type="text/javascript" src="/dist/run-config.js"></script>
<style>
body {
background-color: #eaf1f9;
}
iframe.embed {
width: 500px;
height: 281px;
}
</style>
<script type="text/javascript" src="../index.js?v=d85e77"></script></head>
<body>
<h2>Bubbles & Player in an iframe:</h2>
<iframe id="iframe" class="embed" width="500" height="281" frameborder="0" allowfullscreen></iframe>
</body>
<script type="text/javascript">
const iframe = document.getElementById("iframe");
iframe.src = runConfig.playerUrl + "bubbles-iframe?stories=demo01&stories=demo02";
</script>
</html>