UNPKG

@gobistories/gobi-web-integration

Version:

This library will let you put your Gobi stories on your site.

38 lines (34 loc) 882 B
<!DOCTYPE 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> <h3>Production with new gobi.Bubbles()</h3> <pre> &lt;div id="gobi-container"&lt;/div&gt; &lt;script&gt;new gobi.Bubbles({...});&lt;/script&gt; </pre> <div id="gobi-container"></div> <script> new gobi.Bubbles({ container: '#gobi-container', bubbleSize: '100px', animatedBubble: true, disableShadowDom: false, playerOptions: { autoStartWithSound: true, }, stories: [ { id: '3ecqf', }, ], }); </script> </body> </html>