UNPKG

@gobistories/gobi-web-integration

Version:

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

51 lines (44 loc) 1.16 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>Gobi - Web Integration test</title> <meta name="viewport" content="width=device-width, maximum-scale=1" /> <script type="text/javascript" src="/dist/run-config.js"></script> <style> #gobi-bubbles>div>div>div>div>span { color: #33ff00; } ._12pPY { font-size: 2.3rem !important; font-weight: 800; } </style> <script type="text/javascript" src="../index.js?v=d85e77"></script></head> <body> <p> container: "#gobi-bubbles", showPlayIcon: true, align: "left", }) + legacy story #gobi-bubbles > div > div > div > div > span { color: #33ff00; } ._12pPY { font-size:2.3rem !important; font-weight: 800; } </p> <div id="gobi-bubbles"></div> <script> new gobi.Bubbles({ container: '#gobi-bubbles', showPlayIcon: true, playerOptions: { autoStart: false, apiBaseUrl: runConfig.apiBaseUrl, }, align: 'left', stories: [ { id: 'demo18' }, { id: 'demo20' }, { id: 'demo19' }, { id: 'demo17' }, ], }); </script> </body> </html>