@gobistories/gobi-web-integration
Version:
This library will let you put your Gobi stories on your site.
35 lines (30 loc) • 868 B
HTML
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Gobi - Web Integration test</title>
<script type="text/javascript" src="/dist/run-config.js"></script>
<script type="text/javascript" src="../index.js?v=d85e77"></script></head>
<body>
<div id="gobi-module-container"></div>
<style>
#gobi-module-container>div>div>div>div>span {
font-size: 1.5rem;
font-weight: 500;
}
</style>
<script>
new gobi.Bubbles({
container: "#gobi-module-container",
animatedBubble: true,
bubbleSize: '250px',
playerOptions: {
autoStart: true,
apiBaseUrl: runConfig.apiBaseUrl
},
stories: [{ id: "demo05", title: 'Hvorfor studere matvitenskap, bærekraft og teknologi?' }]
});
</script>
</body>
</html>