UNPKG

@gobistories/gobi-web-integration

Version:

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

43 lines (38 loc) 988 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> <style> button:hover { background: red !important; } </style> <script type="text/javascript" src="../index.js?v=d85e77"></script></head> <body> <div id="inner-html-container"></div> <div id="gobi-module-container"></div> <script> new gobi.Bubbles({ container: '#gobi-module-container', bubbleSize: '170px', color: '#BD00FE', animatedBubble: true, disableShadowDom: false, autoSegue: true, showEmptyStories: true, playerOptions: { autoStart: true, autoStartWithSound: true, apiBaseUrl: runConfig.apiBaseUrl, }, stories: [ { id: 'demo20' }, { id: 'demo11' }, ], }); </script> </body> </html>