UNPKG

@gobistories/gobi-web-integration

Version:

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

34 lines (28 loc) 834 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> <p> The following stories are shown in preview mode. Instead of using a single streaming video, each chapter is shown with it's original media. </p> <div class="gobi-stories" data-gobi-stories="demo02 demo04 demo07 demo20"> </div> <script> gobi.discover({ previewMode: true, apiBaseUrl: runConfig.apiBaseUrl, bubbleSize: "150px", color: "blue", playerOptions: { autoStartWithSound: true, }, }); </script> </body> </html>