1.5.2 • Published 3 years ago

@intheroomglobal/embed v1.5.2

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Speakeasy Embed

An easy to use script to embed Speakeasy experiences within a website.

Usage

Paste the following snippet into your page. Replace the link with a link to your own experience.

<convo>
  <link href="https://unpkg.com/@intheroomglobal/embed/embed.min.css" rel="stylesheet" />
  <a href="https://lite.intheroom.global/experience/{EXPERIENCE_ID}?lite-only=1" title="View accessible version of My Awesome Experience"><span>My Awesome Experience</span></a>
  <script src="https://unpkg.com/@intheroomglobal/embed/embed.min.js"></script>
</convo>

To maximise your experience, add data-maximized attribute to the convo element.

To change the aspect ratio of the embed, add data-aspect-ratio attribute to the convo element, with a valid aspect ratio as the value, e.g. <convo data-aspect-ratio="16:9">...</convo>.

To inline an experience, so when interacted with it does not go full screen, add data-inline attribute to the convo element. Inlined experiences cannot be maximized.

1.5.2

3 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.4.0

3 years ago

1.2.0

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago